/* --- Global Reset & Variables --- */
:root {
    --color-primary: #1a1a1a;    /* Black/Dark Grey */
    --color-secondary: #f5f5f5;  /* Off-White/Beige */
    --color-accent: #a0a0a0;     /* Light Grey for borders/details */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --spacing-large: 80px;
    --spacing-medium: 40px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-primary);
    background-color: #fff;
    line-height: 1.6;
}

/* --- Typography --- */
h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 0.5rem;
}

h2 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
}

h3.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: var(--spacing-medium);
    border-bottom: 1px solid var(--color-accent);
    display: inline-block;
    padding-bottom: 5px;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s;
}

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

/* --- Utilities --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-medium) 0;
}

.page {
    min-height: 100vh;
    padding-top: var(--spacing-large);
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px var(--spacing-medium);
    background-color: #ffffffd0; /* Semi-transparent white */
    backdrop-filter: blur(5px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-secondary);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav a {
    margin-left: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 1px solid var(--color-primary);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

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

.primary-btn:hover {
    background-color: #fff;
    color: var(--color-primary);
}

.secondary-btn {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-accent);
}

.secondary-btn:hover {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* --- Home Section --- */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    background-color: var(--color-secondary);
    padding: var(--spacing-medium);
}

.hero-image-placeholder {
    width: 100%;
    height: 40vh;
    background-color: var(--color-accent);
    opacity: 0.1;
    margin-top: var(--spacing-medium);
}

/* --- About Section --- */
.about-section {
    background-color: #fff;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-medium);
    align-items: center;
    text-align: left;
}

.about-image-placeholder {
    height: 400px;
    background-color: var(--color-secondary);
    opacity: 0.9;
    border: 1px solid var(--color-accent);
}

.about-text p {
    margin-bottom: 15px;
}

/* --- Portfolio Section --- */
.portfolio-section {
    background-color: var(--color-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.portfolio-item {
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1.2;
}

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

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

/* --- Services Section --- */
.services-section {
    background-color: #fff;
    text-align: center;
}

.service-block {
    margin: var(--spacing-medium) 0;
    padding: var(--spacing-medium);
    border: 1px solid var(--color-secondary);
}

.service-block h4 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.service-separator {
    width: 50px;
    margin: 40px auto;
    border: 0;
    border-top: 1px solid var(--color-accent);
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--color-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-medium);
    text-align: left;
}

.contact-info p {
    margin: 5px 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid var(--color-accent);
    background-color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form button {
    width: 100%;
}

.form-message {
    margin-top: 15px;
    font-weight: 500;
    text-align: center;
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding: 20px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    /* Adjust Spacing */
    :root {
        --spacing-large: 60px;
        --spacing-medium: 30px;
    }

    /* Header */
    .header {
        flex-direction: column;
        padding: 15px 20px;
        position: static;
        border-bottom: none;
    }

    .logo {
        margin-bottom: 10px;
    }

    .nav a {
        margin: 0 10px;
        font-size: 0.75rem;
    }

    /* Hero */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1rem;
    }

    .hero-content {
        padding-top: var(--spacing-large);
    }

    /* Grid Layouts */
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image-placeholder {
        height: 250px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Buttons */
    .cta-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 80%;
        margin: 5px auto;
    }
}
.hero-section {
    position: relative;
    margin-top: 70px; /* adjust depending on your header height */
    height: 20vh; /* adjust the height */
    background-image: url("https://images.pexels.com/photos/2983464/pexels-photo-2983464.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5%;
}

/* Dark overlay so text is readable */
.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* adjust darkness */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 500px;
    margin-top: 90px;
}

.flicker-btn {
    display: inline-block;
    background-color: #f6ecec; /* primary color */
    color: rgb(6, 6, 6);
    padding: 12px 25px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease;
    animation: flickerPulse 1.5s infinite;
}

@keyframes flickerPulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    20% {
        opacity: 0.6;
        transform: scale(1.05);
    }
    40% {
        opacity: 1;
        transform: scale(1);
    }
    60% {
        opacity: 0.7;
        transform: scale(1.05);
    }
    80% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Optional hover effect */
.flicker-btn:hover {
    transform: scale(1.1);
    background-color: #ebe0e0;
}
/* Footer */
.footer {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

/* Floating WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.2s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
}
/* Footer Styling */
.footer {
    background-color: #111;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    padding: 40px 20px 20px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.footer-brand p {
    font-size: 14px;
    color: #ccc;
}

.footer-social h4,
.footer-newsletter h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-social a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 5px;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #ff4d4d;
}

.footer-newsletter input[type="email"] {
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    width: 180px;
    outline: none;
}

.footer-newsletter button {
    padding: 10px 15px;
    border: none;
    background-color: #ff4d4d;
    color: white;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.footer-newsletter button:hover {
    background-color: #ff6666;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #888;
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-newsletter input[type="email"] {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 5px;
    }

    .footer-newsletter button {
        width: 100%;
        border-radius: 5px;
    }
}
.about-image {
    width: 100%;
    max-width: 300px; /* smaller size */
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}
/* --- Videos Section --- */
/* --- Videos Section & Responsive Framing --- */
.videos-section {
    background-color: #fff;
    text-align: center;
}

/* Outer Frame: Uses max-width for desktops and percentage-width for mobile scales */
.video-gallery-frame {
    width: 100%;
    max-width: 750px; /* Perfect cinematic scale on desktops */
    margin: 0 auto;
    background: #ffffff;
    padding: 16px; /* Elegant white matte border */
    border: 1px solid var(--color-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    box-sizing: border-box; /* Ensures padding doesn't break layout width */
}

/* The Responsive Box: Forces the frame to maintain a perfect 16:9 widescreen ratio */
.video-responsive-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Maintains standard widescreen 16:9 aspect ratio dynamically */
    background-color: var(--color-primary);
    overflow: hidden;
}

/* Pinning the video element precisely inside the fluid responsive box */
.video-responsive-box video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video fills its frame neatly on all screens */
}

.video-caption {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-top: 15px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .video-gallery-frame {
        padding: 8px; /* Thinner elegant border to prioritize mobile screen real estate */
    }
    
    .video-caption {
        font-size: 0.7rem;
        letter-spacing: 1px;
        margin-top: 10px;
    }
}