/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;600&display=swap');
/* Font Awesome for Icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    /* Colors - Identity: Red, Black, White */
    --color-primary-red: #E63946;
    /* Premium Red */
    --color-primary-black: #1A1A1A;
    /* Rich Black */
    --color-secondary-black: #121212;
    /* Darker Black */
    --color-white: #FFFFFF;
    --color-gray-light: #F8F9FA;
    --color-gray-medium: #E0E0E0;

    /* Text Colors */
    --color-text-main: #1A1A1A;
    --color-text-light: #888888;
    --color-text-white: #FFFFFF;

    /* Gradients */
    --gradient-red: linear-gradient(135deg, #E63946 0%, #C1121F 100%);
    --gradient-dark: linear-gradient(135deg, #1A1A1A 0%, #000000 100%);

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(230, 57, 70, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--color-primary-black);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    text-decoration: none;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
}

.btn-primary {
    background-color: var(--color-primary-red);
    color: var(--color-white);
    border: 2px solid var(--color-primary-red);
}

.btn-primary:hover {
    background-color: #D32F2F;
    border-color: #D32F2F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary-black);
    color: var(--color-primary-black);
    font-weight: 700;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--color-primary-black);
    color: var(--color-white);
    transform: translateY(-2px);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-white);
}

.text-accent {
    color: var(--color-primary-red);
}

.section-padding {
    padding: 100px 0;
}

.bg-dark {
    background-color: var(--color-primary-black);
    color: var(--color-white);
}

.bg-gray {
    background-color: var(--color-gray-light);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 2.8rem;
    display: inline-block;
    position: relative;
    padding-bottom: 20px;
    color: var(--color-primary-black);
}

.section-title h2.white-title {
    color: var(--color-white);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-primary-red);
    border-radius: 2px;
}

/* Header */
header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 10px 0;
    /* Reduced padding */
    transition: var(--transition-smooth);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary-black);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--color-primary-red);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--color-secondary-black);
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: inherit;
    /* Ensure Outfit font */
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary-red);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--color-white);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--color-primary-black);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    color: var(--color-primary-red);
    background-color: var(--color-gray-light);
}

.nav-link i {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-primary-black);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    /* Header height */
    display: flex;
    align-items: center;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
    /* Fix interactive bg overflow */
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 50px;
}

.slogan-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(230, 57, 70, 0.1);
    color: var(--color-primary-red);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--color-primary-black);
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--color-primary-red);
}

.hero p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--color-gray-light);
    z-index: -1;
    border-radius: 20px;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

/* Features/Services */
.features {
    background-color: var(--color-white);
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-gray-medium);
}

.feature-card:hover {
    border-color: var(--color-primary-red);
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--color-gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-primary-red);
    margin: 0 auto 25px;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: var(--color-primary-red);
    color: var(--color-white);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: var(--color-white);
    margin: 0 0 10px 0;
    font-size: 1.3rem;
}

.view-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--color-primary-red);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.gallery-item:hover .view-btn {
    background-color: white;
    color: var(--color-primary-red);
}

/* About Preview */
.about-preview {
    background-color: var(--color-gray-light);
}

.about-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(#E63946 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: 1;
    opacity: 0.5;
}

.about-content {
    flex: 1;
}

.checklist {
    margin: 30px 0;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
}

.checklist li i {
    color: var(--color-primary-red);
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--color-white);
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-primary-black);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--color-gray-medium);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary-red);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.map-container {
    flex: 1;
    min-width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
}

/* Footer */
footer {
    background-color: var(--color-secondary-black);
    color: var(--color-white);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--color-primary-red);
}

.footer-links a {
    color: #888;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--color-primary-red);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #888;
}

.contact-info i {
    color: var(--color-primary-red);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
    color: var(--color-white);
}

.social-icon:hover {
    background: var(--color-primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Logo Image */
.logo img {
    height: 60px;
    /* Adjusted height for better visibility */
    width: auto;
    object-fit: contain;
}

/* Hero Typography Fix */
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-primary-black);
}

.hero-content h1 span {
    color: var(--color-primary-red);
}

/* Tiles Grid System */
.tiles-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    /* Skew or Rotate if needed, keeping flat for now */
    width: 120%;
    /* Cover slightly more than viewport to catch edges */
    height: 120%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    /* Lowest level in hero */
    gap: 0;
    pointer-events: none;
    /* Allow interaction to pass through to grid but tricky with buttons */
}

/* We need pointer-events auto on the tiles to catch hover, but we need clicks to pass through to buttons underneath.
   The only way is to ensure buttons are z-index HIGHER than tiles-container.
   Hero Content is z-index: 2. Tiles-container: 1. This works.
*/
.tiles-container * {
    pointer-events: auto;
}

.tile-col {
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    /* Light border neutral-200 approx */
}

.tile {
    width: 48px;
    /* md size */
    height: 48px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    background-color: transparent;
    transition: background-color 2s ease;
    /* Fade out duration */
}

.tile:hover {
    background-color: rgba(230, 57, 70, 0.08);
    /* Brand Red tint */
    transition: background-color 0s;
    /* Instant highlight */
}

/* Responsive Tile sizes */
@media (max-width: 768px) {
    .tile {
        width: 32px;
        /* sm/md mobile size */
        height: 32px;
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    background-color: #20BA56;
}

.floating-whatsapp i {
    margin-top: 2px;
    /* Visual correction */
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-row {
        flex-direction: column;
    }

    .about-image {
        order: -1;
    }

    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--color-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition-smooth);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    /* Mobile Dropdown */
    .nav-item-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        text-align: center;
        width: 100%;
    }

    .nav-item-dropdown .dropdown-menu li a {
        padding: 10px 0;
        font-size: 0.85rem;
        color: #666;
    }

    .nav-link i {
        display: none;
        /* Hide arrow on mobile to save space */
    }

    .mobile-toggle {
        display: block;
        margin-left: auto;
        z-index: 1001;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    /* Footer Mobile Centering */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a,
    .contact-info li {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: block;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-lightbox:hover {
    color: var(--color-primary-red);
}

@media (max-width: 768px) {
    .close-lightbox {
        right: 20px;
        top: 10px;
    }
}