/* 1. GLOBAL STYLES */

/* Add this at the very top of css/style.css */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100vh; /* Keeps the page body stretching full-screen */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background-color: #FFFFFF; 
    color: #000000;            
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    /* REMOVED: display: flex and flex-direction from here */
}

/* Add this class right below your body styles */
.short-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3 {
    color: #B22222; 
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 2. NAVIGATION BAR */
.navbar {
    background-color: #B22222;
    border-bottom: 3px solid #FFFFFF;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
	align-items: center;
    padding: 10px 40px;
}

/* Style the Logo container */
.nav-logo img {
    height: 50px; /* Adjust this based on your logo's design */
    width: auto;
    display: block;
}

/* Container for the white circle */
.logo-circle {
    background-color: #FFFFFF; /* The white background */
    width: 60px;               /* Adjust size as needed */
    height: 60px;              /* Must match width for a perfect circle */
    border-radius: 50%;        /* Makes it a circle */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;          /* Clips any part of the logo that goes outside */
    transition: 0.3s;
}

/* Size the logo within the circle */
.logo-circle img {
    width: 80%;                /* Scales logo to fit comfortably inside */
    height: auto;
}

/* Optional: Add a subtle glow or hover effect */
.logo-circle:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6); /* black glow on hover */
    transform: scale(1.05);
}


/* Ensure the list stays horizontal and doesn't stretch */
.navbar ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar li a {
    display: block;
    color: #FFFFFF;
    padding: 14px 25px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.navbar li a:hover {
    background-color: #000000;
    color: #FFFFFF;
}

.navbar .active {
    background-color: #000000;
    color: #FFFFFF;
}

/* 3. HERO SECTION */
.hero {
    width: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 35%; /* Letterbox height */
    overflow: hidden;
    background-color: #000;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    color: #FFFFFF;
    font-size: clamp(1.5rem, 6vw, 4rem);
    letter-spacing: 5px;
    margin: 0;
    text-shadow: 0px 0px 20px rgba(0,0,0,0.9);
}

/* 1. CTA BUTTON */
.btn-primary {
    background-color: #B22222;
    color: #FFFFFF;
    padding: 15px 30px;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #000000;
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* 5. SCROLL ARROW */
.scroll-arrow {
    position: absolute;
    bottom: 1px;
    font-size: 2rem;
    color: #FFFFFF;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* 4. LAYOUT CONTAINERS */
.container {
    width: 80%;
    margin: auto;
    padding: 20px;
    /* REMOVE flex-grow: 1; from here so your other pages look normal again */
}

/* New layout rule for short pages */
.page-wrapper {
    flex-grow: 1;
}

/* 2. SERVICES GRID */
.services-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0 60px;
}

.service-card {
    flex: 1;
    padding: 30px;
    border-top: 4px solid #B22222;
    background: #f9f9f9;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* 3. FEATURED WORK GRID */
.featured-work {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 80px;
}

.media-item {
    border: 2px solid #B22222;
    background-color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.media-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(178, 34, 34, 0.4);
}

/* 6. FOOTER */
footer {
    text-align: center;
    padding: 40px;
    background-color: #111;
    color: #FFFFFF;
    font-size: 0.9rem;
    border-top: 5px solid #B22222;
    
    /* ADD THIS LINE BELOW */
    margin-top: auto; 
}

/* --- PORTFOLIO PROJECT LIST --- */

.project-list-grid {
    display: grid;
    /* Creating a responsive grid without commas to avoid Dreamweaver errors */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.project-card {
    text-decoration: none;
    display: block;
}

.square-thumb {
    position: relative;
    width: 100%;
    padding-top: 100%; /* This forces the box to stay perfectly square */
    overflow: hidden;
    background-color: #000;
    border: 2px solid #B22222;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.square-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crops image to fit the square exactly */
    transition: transform 0.5s;
}

/* Hover Effects */
.project-card:hover .square-thumb {
    transform: translateY(-5px);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(178, 34, 34, 0.8); /* Firebrick Red at 80% transparency */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    color: #FFFFFF;
    text-align: center;
    padding: 0 10px;
    margin: 0;
    font-size: 1.2rem;
}

/* CONTACT & BOOKING LAYOUT */
.contact-flex {
    display: flex;
    gap: 50px;
    margin: 40px 0;
}

.contact-form-section {
    max-width: 600px; /* Limits the width so it's not too stretched */
    margin: 40px auto; /* Centers the form on the page */
}


/* Form Styling */
#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    font-family: inherit;
}

/* Calendar Styling */
#calendar {
    background: #fff;
    padding: 10px;
    border: 2px solid #B22222; /* Matches your theme */
    color: #000;
}

.fc-toolbar-title { font-size: 1.2rem !important; color: #B22222; }
.fc-button-primary { background-color: #B22222 !important; border: none !important; }

/* Mobile Stack */
@media (max-width: 768px) {
    .contact-flex { flex-direction: column; }
}

/* --- ABOUT PAGE HEADER --- */
/* Matching the Home Page Video Size */
.about-hero-wrapper {
    width: 100%;
    margin: 0;
}

.about-hero-box {
    position: relative;
    width: 100%;
    padding-top: 35%; /* This MUST match your home page video percentage */
    overflow: hidden;
    /* Replace 'about-bg.jpg' with your image name */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 5px solid #B22222;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- CINEMATIC PUSH-IN ANIMATION --- */

@keyframes slowPushIn {
    0% {
        transform: scale(1); /* Starting size */
        opacity: 0;         /* Starts invisible for a smooth fade-in */
    }
    10% {
        opacity: 3;         /* Fades in quickly at the start */
    }
    100% {
        transform: scale(1.15); /* Ends 15% larger */
    }
}

.about-overlay h1 {
    color: #FFFFFF !important;
    font-family: 'Arial Narrow', 'DIN Condensed', Impact, sans-serif;
    text-transform: uppercase;
    letter-spacing: 12px;
    font-weight: 1000;
    font-size: clamp(1.5rem, 4vw, 4rem);
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.8);
    text-align: center;
    margin: 0;
    
    /* APPLY ANIMATION HERE */
    animation: slowPushIn 20s ease-out forwards;
}


.about-section {
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Matching your portfolio style */
    gap: 40px;
    margin-top: 30px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 220px;
    height: 220px;
    border-radius: 50%; /* Makes headshots circular */
    object-fit: cover;
    border: 3px solid #B22222;
    margin-bottom: 15px;
	object-position: 50% 25%;
}

.about-cta {
    background: #F5F5F5;
    padding: 60px;
    text-align: center;
    margin: 40px 0;
    border: 5px solid #B22222;
}

/* --- CINEMATIC OVERLAPPING TEXT --- */

.overlap-container {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Limits width so it doesn't "leak" out */
    height: 200px;     /* Increased height to comfortably fit both layers */
    margin: 60px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;  /* Ensures any overflow is hidden */
    background-color: transparent;
}

/* Faint, blurred "Ghost" text */
.text-bg {
    position: absolute;
    font-size: clamp(4rem, 20vw, 4.5rem); /* Dynamic sizing */
    font-weight: 900;
    color: rgba(0, 0, 0, 0.2); /* Extremely faint for a "memory" feel */
    white-space: nowrap;
    letter-spacing: -2px; /* Tighter for a blocky, structural look */
    filter: blur(3px);    /* Cinematic softening effect */
    z-index: 1;
    user-select: none;    /* Prevents accidental highlighting */
}

/* Bold, sharp "Strength" text */
.text-fg {
    position: relative;
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 800;
    color: #B22222;       /* Your Firebrick Red */
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 8px;  /* Wide spacing for a premium film title look */
    text-align: center;
    line-height: 1.2;
    text-shadow: 0px 0px 15px rgba(255, 255, 255, 0.8); /* Glow to separate from background */
}

/* --- FOOTER SOCIALS --- */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Style for the local image icon */
.footer-icon {
    width: 50px;  /* Adjust size as needed */
    height: auto;
    transition: transform 0.3s ease;
 
}

.footer-socials a:hover .footer-icon {
    transform: scale(1.2);
   
}

/* --- PACKAGES PAGE --- */
.packages-wrapper {
    max-width: 900px;
    margin: 50px auto;
}

.package-tier {
    background: #f9f9f9;
    border-left: 5px solid #B22222;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Remove default triangle */
.package-tier summary {
    list-style: none;
    cursor: pointer;
    outline: none;
}

.package-tier summary::-webkit-details-marker {
    display: none;
}

.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tier-header h3 {
    margin: 0;
    font-size: 1.8rem;
}

.price {
    font-weight: bold;
    color: #B22222;
    font-size: 1.2rem;
}

.view-more {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.tier-content {
    padding-top: 20px;
    border-top: 1px solid #ddd;
    margin-top: 15px;
    animation: fadeIn 0.4s ease;
}

.tier-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.tier-content li {
    margin-bottom: 10px;
    color: #444;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- HOVER EFFECTS FOR PACKAGES --- */

.package-tier:hover {
    transform: translateY(-5px); /* Moves the box up slightly */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Deepens the shadow */
    background-color: #ffffff; /* Subtle color shift to bright white */
    border-left: 8px solid #B22222; /* Thickens the red bar on hover */
}

/* Optional: Make the "View Details" text change color on hover */
.package-tier:hover .view-more {
    color: #B22222;
    font-weight: bold;
}

/* Smoothens the transition so it doesn't "snap" */
.package-tier {
    transition: all 0.3s ease-in-out;
}

/* --- SKEWED PAGE TITLES --- */

/* --- CINEMATIC HEADER WITH 45-DEGREE CHOPPED EDGE --- */

@keyframes slideOutFromLeft {
    0% {
        transform: translateX(-100%); /* Starts completely hidden off-screen to the left */
        opacity: 0;
    }
    100% {
        transform: translateX(0);     /* Glides smoothly out from the left edge */
        opacity: 1;
    }
}

.skew-title-container {
    width: 100%;
    margin: 40px 0; 
    padding: 0;     
    overflow: hidden; /* Prevents any horizontal screen scrollbar */
}

.skew-box {
    background: #B22222; 
    padding: 20px 40px; 
    
    /* 1. CHANGED: Swapped fit-content for a fixed percentage width */
    width: 60%;                
    min-width: 320px; /* Keeps it readable on mobile viewports */
    max-width: 100%;               
    margin-left: 0;                
    
    /* 2. ADDED: Uses flexbox to center anything inside the red box */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Your existing chop path and animations */
    clip-path: polygon(0% 0%, calc(100% - 74px) 0%, 100% 100%, 0% 100%);
    animation: slideOutFromLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.skew-text {
    color: #FFFFFF !important; 
    margin: 0;
    font-family: 'Arial Narrow', 'DIN Condensed', Impact, sans-serif;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem); /* Scaled down slightly to fit the block */
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    
    /* 3. CHANGED: Ensures the block respects centering inline alignments */
    text-align: center; 
    width: 100%;
}


/* --- EDITORIAL TEXT READABILITY --- */

.center-reading-text {
    max-width: 800px;       /* Limits text from stretching all the way across the screen */
    margin: 30px auto 0;    /* 'auto' on left/right forces the container to perfectly center */
    padding: 0 20px;        /* Adds a tiny safety margin for mobile phone screens */
}

.center-reading-text p {
    text-align: center;     /* Centers the actual text alignment inside the box */
    font-size: 1.15rem;     /* Slightly larger size for an elegant editorial look */
    line-height: 1.8;       /* Increases line height slightly so the paragraphs can breathe */
    color: #333333;         /* A very dark gray instead of harsh solid black for readability */
}

/* Keeps the text looking normal and removes the default blue link underline */
.team-link {
    text-decoration: none;
    color: inherit; 
    display: block; /* Makes the entire block clickable, not just the text */
}

/* Optional: Adds a subtle hover effect to let users know it's clickable */
.team-member:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* 1. Set the base style and transitions for the team card */
.team-member {
    background: #ffffff; /* Or match your existing card background color */
    border-radius: 8px; /* Softens corners if desired */
    overflow: hidden;
    
    /* Crucial: Smoothly animates the pop-up and shadow over 0.3 seconds */
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* Optional base shadow so the transition looks natural */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); 
}

/* 2. Trigger the "Pop Up" effect when hovered */
.team-member:hover {
    /* Lifts the photo/card upward by 10 pixels */
    transform: translateY(-10px); 
    
    /* Adds a deeper, softer shadow below to simulate height */
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15); 
    
    /* Forces the mouse cursor to become a clickable hand pointer */
    cursor: pointer; 
}

/* 3. Optional: Make the image inside scale up very slightly for extra depth */
.team-member img {
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.02); /* Zooms the photo in by a tiny 2% */
}

/* --- FIXED MOBILE RESPONSIVE MEDIA QUERY --- */
@media (max-width: 768px) {
    
    /* Stacks Navbar vertically */
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        width: 100%;
    }
    
    .navbar ul {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap; 
    }

    .navbar li a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    /* Adjusts video viewport sizing */
    .video-container {
        padding-top: 56.25%; 
    }
    
    /* Limits containers to screen width boundaries */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }

    /* Forces service cards to fully stack top-to-bottom */
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 20px 0 40px;
        width: 100%;
    }

    .service-card {
        flex: none;      
        width: 100%;     
        max-width: 100%; 
        padding: 25px;
    }
    
    /* Stacks the Team members vertically on mobile */
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .contact-flex { 
        flex-direction: column; 
    }
} 
