:root {
    --primary: #ff6a3e;
    --primaryLight: #ffba43;
    --secondary: #ffba43;
    --secondaryLight: #ffba43;
    --headerColor: #1a1a1a;
    --bodyTextColor: #4e4b66;
    --bodyTextColorWhite: #fafbfc;
    --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem);
    --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem);
    --bodyFontSize: 1rem;
    --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    color: #333;
}

/* Header and Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.2rem;
    font-weight: 500;
    color: #686868;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #686868;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #686868;
    opacity: 0.8;
}

/* Main content */
main {
    flex: 1;
    padding-top: 80px; /* Account for fixed header */
    min-height: calc(100vh - 80px - 100px); /* viewport height minus header and footer */
}

section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero section */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 3.3 / 1;
    min-height: 300px;
    max-height: 60vw;
    background: url('images/hero.webp') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.hero p {
    color: #fff;
    font-size: 1.2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Portfolio section */
.portfolio {
    background-color: #fff;
}

.gallery {
    column-count: 3;
    column-gap: 1.2rem;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0 auto;
    padding: 0;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.2rem;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

/* About section */
.about {
    background-color: #f8f9fa;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    margin-bottom: 0.3rem;
}

/* Contact section */
.contact {
    background-color: #fff;
    text-align: center;
}

.contact-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #555;
}

/* Footer */
footer {
    background-color: #fff;
    color: #686868;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

/* Responsive design */
@media (max-width: 900px) {
    .hero {
        aspect-ratio: 2.2 / 1;
        min-height: 180px;
        max-height: 50vw;
    }
    .gallery {
        column-count: 2;
        column-gap: 0.8rem;
    }
    section {
        padding-top: 0.5rem;
    }
    .about {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }
    main {
        margin-top: 40px;
    }
    nav {
        flex-direction: column;
        align-items: center;
        padding: 0.5rem 2vw;
    }
    .logo {
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
        text-align: center;
    }
    .nav-links {
        gap: 1rem;
        font-size: 1rem;
        justify-content: center;
    }
}
@media (max-width: 600px) {
    header {
        padding: 0.5rem 0;
    }
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 2vw;
    }
    .logo {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        padding-left: 0.2rem;
    }
    .nav-links {
        display: none;
    }
    .logo-link,
    .logo-link:visited,
    .logo-link:active,
    .logo-link:hover,
    .logo-link:focus {
        text-decoration: none !important;
        color: inherit !important;
        font-weight: inherit !important;
        cursor: default !important;
        background: none !important;
        outline: none !important;
    }
    main {
        margin-top: 20px;
    }
    .hero {
        aspect-ratio: 1.5 / 1;
        min-height: 120px;
        max-height: 60vw;
    }
    .gallery {
        column-count: 1;
        column-gap: 0;
    }
    .gallery-item {
        margin-bottom: 0.8rem;
    }
    section {
        padding-top: 0.2rem;
    }
    .about {
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }
    .modal-content {
        max-width: 98vw;
        max-height: 50vh;
    }
    .close {
        top: 10px;
        right: 20px;
        font-size: 2rem;
    }
}

/* Section headings */
h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #333;
}

/* Modal Popup Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
}
.modal-content {
    display: block;
    margin: 5vh auto;
    max-width: 90vw;
    max-height: 80vh;
    box-shadow: 0 4px 32px rgba(0,0,0,0.5);
    border-radius: 8px;
}
.close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    transition: color 0.2s;
}
.close:hover {
    color: #ffb3b3;
}

.logo a,
.logo a:visited,
.logo a:active,
.logo a:hover,
.logo a:focus,
.logo-link,
.logo-link:visited,
.logo-link:active,
.logo-link:hover,
.logo-link:focus {
    text-decoration: none !important;
    color: inherit !important;
    font-weight: inherit !important;
    cursor: default !important;
    background: none !important;
    outline: none !important;
}

/* Title Styles */
.cs-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #F48D0B;
    margin-bottom: 2rem;
    text-align: center;
} 