/* 
  MangalGriha Premium Design System
  Unified Luxury Styles for the Entire Website
*/

:root {
    --gold-1: #d4af37;
    --gold-2: #ffdc73;
    --ruby: #8B0000;
    --dark-red: #a51d2d;
    --black: #080505;
    --cream: #f9f5e9;
    --dark-brown: #2c1810;
    --light-bg: #fdfbf7;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-premium: 0 20px 60px rgba(139, 0, 0, 0.08);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --gradient-ruby: linear-gradient(135deg, var(--ruby), var(--dark-red));
}

/* BASE RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--light-bg) 0%, #fffaf5 100%);
    color: var(--dark-brown);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    width: 100%;
}

img,
video,
iframe {
    max-width: 100%;
}

.container-premium {
    width: min(100% - 40px, 1400px);
    margin-inline: auto;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
}

.section-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: var(--ruby);
    margin-bottom: 25px;
}

.section-title + p,
.section-header p {
    max-width: 780px;
    margin-inline: auto;
}

.badge-premium {
    letter-spacing: 0.04em;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    margin-left: 0 !important;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
.logo {
    font-family: 'Cormorant Garamond', serif;
}

/* HEADER */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(139, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ruby);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-brown);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--ruby);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-1);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* FORMS */
.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-brown);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* BUTTONS */
.btn {
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ruby), var(--dark-red));
    color: white;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: #5a0000;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--ruby);
    color: var(--ruby);
}

.btn-outline:hover {
    background: var(--ruby);
    color: white;
}

/* NAVIGATION UTILITIES */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ruby);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--gold-1);
    transform: translateX(-5px);
}

.back-btn i {
    font-size: 0.9rem;
}

/* FOOTER */
.footer {
    background: linear-gradient(135deg, var(--dark-brown) 0%, #1a0f0a 100%);
    color: var(--cream);
    padding: 70px 0 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: var(--gold-2);
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.footer-description {
    color: rgba(249, 245, 233, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-2);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.social-link:hover {
    background: var(--gold-1);
    color: var(--dark-brown);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(249, 245, 233, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold-2);
    transform: translateX(5px);
}

.footer-links a i {
    color: var(--gold-1);
    width: 16px;
    font-size: 0.8rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--gold-1);
    margin-top: 2px;
    font-size: 1.1rem;
    min-width: 20px;
}

.contact-item strong {
    color: var(--gold-2);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

.contact-item p {
    color: rgba(249, 245, 233, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 30px 0 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(249, 245, 233, 0.7);
    font-size: 0.9rem;
}

/* RESPONSIVE */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--ruby);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .story-container,
    .product-container {
        grid-template-columns: 1fr !important;
    }

    .stats-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .team-section,
    .story-section {
        padding: 80px 20px !important;
    }
}

@media (max-width: 768px) {
    .container-premium {
        width: min(100% - 30px, 1400px);
    }

    .section-padding {
        padding: 70px 0;
    }

    .header-container {
        height: 70px;
    }

    .logo {
        font-size: 1.8rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        gap: 15px;
    }

    .nav-links.show {
        display: flex;
        align-items: stretch;
        text-align: center;
    }

    .nav-links .btn {
        width: 100%;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer {
        padding-top: 50px;
    }

    .services-hero,
    .venues-hero,
    .product-hero {
        padding-top: 110px !important;
    }

    .services-hero h1,
    .venues-hero h1,
    .about-hero h1,
    .product-details h1 {
        font-size: 2.7rem !important;
        line-height: 1.1;
    }

    .services-grid,
    .venues-grid,
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .main-container,
    .product-container,
    .services-grid,
    .venues-grid,
    .filters-container {
        padding-inline: 15px !important;
    }

    .story-container,
    .stats-grid,
    .team-grid {
        grid-template-columns: 1fr !important;
    }

    .story-image img {
        height: 420px !important;
    }

    .team-img {
        width: 220px !important;
        height: 220px !important;
    }

    .venue-footer,
    .product-actions {
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px;
    }

    .venue-footer .btn,
    .product-actions .btn {
        width: 100% !important;
    }
}

@media (max-width: 560px) {
    .btn,
    .btn-large {
        width: 100%;
        padding-inline: 20px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-container,
    .header-container {
        padding-inline: 15px;
    }
}
