/* --- DESIGN TOKENS --- */
:root {
    /* Color Palette */
    --primary: #000000;
    --primary-light: #222222;
    --accent: #b41d24; /* GO PAINTING Red */
    --accent-hover: #8e151b;
    --text-main: #111111;
    --text-muted: #555555;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --border: #e5e5e5;
    
    /* Spacing & Sizing */
    --container-width: 1280px;
    --header-height: 90px;
    --section-spacing: 120px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* --- RESET & DEFAULTS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-height);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

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

/* --- UTILITIES --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: var(--section-spacing) 0;
    position: relative;
}

.section:not(.bg-light)::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: url('../assets/swoosh.png') no-repeat bottom right;
    background-size: contain;
    opacity: 0.3; /* Increased opacity so it's visible */
    pointer-events: none;
    z-index: 0;
}

.section > .container {
    position: relative;
    z-index: 1;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    margin-bottom: 1rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- NAVIGATION LOGIC --- */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    gap: 10px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* --- HEADER --- */
header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

header.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
}

header .container {
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
}

.nav-links {
    display: flex;
    gap: 48px;
    align-items: center;
}

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}

/* --- HERO SECTION --- */
.hero {
    min-height: calc(90vh - var(--header-height));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 100%;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-image {
    position: relative;
    width: 100%;
    z-index: 1;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-height: 75vh;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    bottom: 10%;
    right: 40%;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- CARDS & GRIDS --- */
.grid {
    display: grid;
    gap: 32px;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); }

.card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 48px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--accent);
}

/* --- SERVICE CARD --- */
.service-card {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.service-image {
    height: 280px;
    overflow: hidden;
}

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

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-list {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 900;
}

/* --- PORTFOLIO --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
}

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

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

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

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

/* --- CONTACT SECTION --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    background: var(--primary);
    color: var(--white);
    padding: 80px;
}

.contact-info h2 { color: var(--white); margin-bottom: 2rem; }

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.contact-form {
    padding: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}

/* --- FOOTER --- */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 60px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links li a {
    color: rgba(255,255,255,0.6);
}

.footer-links li a:hover {
    color: var(--accent);
    padding-left: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-content p { margin: 0 auto 2.5rem; }
    .contact-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --section-spacing: 80px; }
    .nav-links { 
        display: none; 
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        gap: 20px;
        align-items: center;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.mobile-active { display: flex; }
    .mobile-menu-btn { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3rem; }
}
