/* ==================== */
/* CSS Variables & Reset */
/* ==================== */

:root {
    --primary-dark: #0f1419;
    --secondary-dark: #1a3a4a;
    --gold: #d4af37;
    --gold-light: #e5c05f;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-dark: #2c2c2c;
    --text-medium: #6b6b6b;
    --font-heading: 'Libre Baskerville', serif;
    --font-body: 'Nunito', sans-serif;
    --navy-dark: #0f1419;
    --navy-blue: #1a2f3d;
    --gold: #c9a55c;
    --gold-dark: #b8944a;
    --white: #ffffff;
    --light-bg: #f8f8f8;
    --text-dark: #333333;
    --text-light: #666666;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
}


.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--navy-dark);
    transition: var(--transition);
}


/* Dropdown Menu Styles - ADD THIS TO YOUR CSS */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: var(--light-bg);
    color: var(--gold);
    padding-left: 25px;
}


/* Language Switcher as Nav Item */
.lang-link {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark) !important;
}

.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-link:hover {
    color: var(--gold) !important;
}
/* ==================== */
/* Hero Section */
/* ==================== */

.hero-section {
    position: relative;
    height: 660px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/images/contact\ img.png') center/cover;
    margin-top: 75px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.05rem;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--gold);
}

.separator {
    color: var(--gold);
}

.current {
    color: var(--gold);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== */
/* Main Contact Section */
/* ==================== */

.contact-main {
    padding: 80px 0 100px;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    align-items: stretch;
}

.form-section {
    animation: slideInLeft 0.8s ease;
}

.form-card {
    background: var(--light-gray);
    padding: 60px 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-heading {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.form-subtitle {
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    padding: 20px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(15, 20, 25, 0.2);
    font-family: var(--font-body);
}

.submit-btn:hover {
    background: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.form-notification {
    display: none;
    padding: 15px 20px;
    border-radius: 6px;
    margin-top: 20px;
    font-weight: 600;
    animation: slideDown 0.3s ease;
}

.form-notification.success {
    display: block;
    background: rgba(76, 175, 80, 0.15);
    color: #2e7d32;
    border: 2px solid #4caf50;
}

.form-notification.error {
    display: block;
    background: rgba(244, 67, 54, 0.15);
    color: #c62828;
    border: 2px solid #f44336;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-details {
    border-top: 2px solid #e0e0e0;
    padding-top: 30px;
}

.detail-item {
    margin-bottom: 20px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item strong {
    display: block;
    color: var(--primary-dark);
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.detail-item p {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 1.05rem;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== */
/* Image Section */
/* ==================== */

.image-section {
    animation: slideInRight 0.8s ease;
    height: 100%;
}

.hero-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    height: 100%;
    min-height: 1050px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Footer */
.footer {
    background: var(--navy-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-col ul li span {
    color: rgba(248, 244, 236, 0.65);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-col ul li span:hover {
    color: var(--gold-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid,
    .exterior-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .exterior-grid {
        direction: ltr;
    }
    
    .stats-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        transition: 0.3s;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .main-heading {
        font-size: 2rem;
    }
    
    .service-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .design-gallery {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--navy-blue);
    transform: translateY(-5px);
}

body.rtl {
    font-size: 1rem;
}

/* Navbar aur dropdown ke beech gap ko fill karo */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;   /* navbar ke neeche gap cover */
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}

.footer-col ul li i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
    color: var(--gold); 
}

/* RTL mode mein icons ke liye specific styles */
body.rtl i[class*="fa-"] {
    font-family: "Font Awesome 6 Free" !important;
    direction: ltr !important;
    text-align: left !important;
}

/* Chevron icons ko flip karein RTL mein */
body.rtl .fa-chevron-right::before {
    content: "\f053" !important; /* Left arrow */
}

body.rtl .fa-chevron-left::before {
    content: "\f054" !important; /* Right arrow */
}

body.rtl .fa-arrow-right::before {
    content: "\f060" !important; /* Left arrow */
}

body.rtl .fa-arrow-left::before {
    content: "\f061" !important; /* Right arrow */
}