/*
Theme Name: Truus Theme
Theme URI: http://172.16.16.54
Author: OpenCode
Author URI: http://172.16.16.54
Description: A custom WordPress theme inspired by truus.co - Creative advertising agency theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: truus-theme
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #0a0a0a;
    --primary-white: #ffffff;
    --accent-yellow: #ffe600;
    --accent-red: #ff3b30;
    --accent-pink: #ff2d55;
    --accent-blue: #007aff;
    --gray-dark: #1a1a1a;
    --gray-medium: #333333;
    --gray-light: #f5f5f5;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-white);
    color: var(--primary-black);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo a {
    color: var(--primary-black);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-red);
}

.nav-cta {
    padding: 12px 24px;
    background: var(--primary-black);
    color: var(--primary-white) !important;
    border-radius: 50px;
    transition: transform 0.3s ease !important;
}

.nav-cta:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: var(--primary-black);
    color: var(--primary-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 230, 0, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 59, 48, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: italic;
    font-weight: 300;
    color: var(--accent-yellow);
}

.hero-tagline {
    font-size: clamp(18px, 3vw, 24px);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.hero-cta {
    margin-top: 48px;
}

.hero-cta a {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent-yellow);
    color: var(--primary-black);
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta a:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 230, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: var(--primary-white);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { height: 0; opacity: 0; }
    50% { height: 40px; opacity: 1; }
}

/* Work Section */
.work-section {
    padding: 120px 0;
    background: var(--primary-white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.section-header h2 em {
    font-style: italic;
    font-weight: 300;
}

.section-header p {
    font-size: 18px;
    opacity: 0.7;
    max-width: 500px;
    margin: 0 auto;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    padding: 0 24px;
}

.work-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.work-item:hover img {
    transform: scale(1.1);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-yellow);
    margin-bottom: 8px;
}

.work-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-white);
}

/* About Section */
.about-section {
    padding: 120px 0;
    background: var(--gray-dark);
    color: var(--primary-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.about-text h2 em {
    font-style: italic;
    color: var(--accent-yellow);
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.team-member {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.team-member:hover img {
    filter: grayscale(0%);
}

/* Services Section */
.services-section {
    padding: 120px 0;
    background: var(--primary-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    padding: 40px;
    border: 2px solid var(--gray-light);
    border-radius: 16px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-black);
    transform: translateY(-8px);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 14px;
    opacity: 0.7;
}

.service-card li:last-child {
    border-bottom: none;
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    background: var(--primary-black);
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    opacity: 0.6;
}

.client-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-white);
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    min-width: 150px;
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: var(--primary-black);
    color: var(--primary-white);
    text-align: center;
}

.contact-section h2 {
    font-size: clamp(36px, 8vw, 96px);
    font-weight: 800;
    letter-spacing: -3px;
    margin-bottom: 40px;
}

.contact-section h2 em {
    font-style: italic;
    color: var(--accent-yellow);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.contact-link {
    font-size: 24px;
    font-weight: 500;
    padding: 16px 40px;
    background: var(--primary-white);
    color: var(--primary-black);
    border-radius: 50px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.contact-link:hover {
    transform: scale(1.05);
    background: var(--accent-yellow);
}

.contact-address {
    font-size: 16px;
    opacity: 0.7;
    margin-top: 40px;
}

/* Footer */
.site-footer {
    padding: 40px;
    background: var(--primary-black);
    color: var(--primary-white);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-credits {
    font-size: 12px;
    opacity: 0.5;
}

.footer-credits a {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 16px 24px;
    }
    
    .main-nav {
        display: none;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
