/* --- CSS VARIABLES & RESET --- */
:root {
    --bg-color: #011d24;
    --bg-secondary: #012129;
    --text-color: #e0e0e0;
    --accent-color: #e2b80f; /* Muted Gold */
    --accent-hover: #FFDB6B;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-align: center;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.highlight {
    color: var(--accent-color);
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

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

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

.btn-solid:hover {
    background-color: #fff;
}

/* --- HEADER & NAV --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    /* background: rgba(18, 18, 18, 0.95); */
    background: rgba(1, 29, 36, .9);
    backdrop-filter: blur(10px);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    /* font-family: var(--font-serif); */
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
}

.logo i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.headline-sec {
    font-family: var(--font-sans);
    font-weight: 300;
    border-left: 1px solid #FAFAFA;
    padding-left: 7px;
    margin-left: -3px;
}

@media screen and (max-width: 600px) {
    .logo, .headline-sec {
        font-size: 1rem;
    }

}

.mobile-menu-btn {
    display: none;
    color: #fff;
    font-size: 1.5rem;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: radial-gradient(circle at center, #012832 0%, var(--bg-color) 80%);
    position: relative;
    /* background-image: url('../img/A1.jpeg'); */
    background-size: cover;
    background-position: center;
}

/* Abstract geometric overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    animation: pulse 10s infinite alternate;
}
/* Abstract geometric overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 66vw;
    height: 66vw;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    animation: pulse 7s infinite alternate;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 1rem;
    flex-wrap: wrap;
}


@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

/* Background Pattern Slider */
.hero-slider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%; /* Max 50% as requested */
    height: 60%;
    z-index: 0;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed to contain so shapes aren't cropped */
    opacity: 0;
    /* Total duration = 6s * 9 images = 54s */
    animation: slideShow 54s linear infinite;
}

/* Stagger the animations so they play one after another */
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }
.hero-slide:nth-child(5) { animation-delay: 24s; }
.hero-slide:nth-child(6) { animation-delay: 30s; }
.hero-slide:nth-child(7) { animation-delay: 36s; }
.hero-slide:nth-child(8) { animation-delay: 42s; }
.hero-slide:nth-child(9) { animation-delay: 48s; }

@keyframes slideShow {
    0% { opacity: 0; transform: scale(1.05); }
    2% { opacity: 0.05; } /* Fade in quickly */
    11% { opacity: 0.05; } /* Stay visible for ~6s (100/9 approx) */
    13% { opacity: 0; transform: scale(1); } /* Fade out */
    100% { opacity: 0; }
}


.hero-content {
    z-index: 1;
    max-width: 800px;
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 4rem;
    display: block;
}

/* --- ABOUT SECTION --- */
.section {
    padding: 100px 10%;
}

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

.about-text blockquote {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    border-left: 2px solid var(--accent-color);
    padding-left: 20px;
    margin: 2rem 0;
    color: #fff;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    /* Placeholder styles if image missing */
    min-height: 400px; 
    background: #222;
    object-fit: cover;
}

/* --- FEATURES/PHILOSOPHY --- */
.features {
    background-color: var(--bg-secondary);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-item p {
    font-size: 0.9rem;
    color: #aaa;
}

/* --- PORTFOLIO --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    border-radius: 2px;
    background-color: #222;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-overlay i {
    color: #fff;
    font-size: 1.5rem;
}

/* --- CONTACT --- */
.contact {
    text-align: center;
    background-color: var(--bg-secondary);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 50px;
    transition: background 0.3s;
}

.social-btn:hover {
    background: var(--accent-color);
    color: #121212;
}

.email-link {
    font-size: 1.1rem;
    font-family: var(--font-sans);
    margin: 2rem 0;
    display: block;
}

.patterns-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
    width: 100%;
}

.patterns-grid img {
    width: 100%;
    opacity: .8;
}

/* --- FOOTER --- */
footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid #222;
    font-size: 0.8rem;
    color: #666;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    nav {
        display: none; /* Simple hiding for mobile, ideally a burger menu */
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero::before {
        width: 80vw;
        height: 80vw;
    }
}