/* ShaadiSafar - Core Styles */

:root {
    /* Wedding Palette */
    --color-gold: #D4AF37;
    --color-gold-light: #F4C430;
    --color-maroon: #800000;
    --color-maroon-light: #A00000;
    --color-pink: #FFE4E1;
    /* Misty Rose */
    --color-pink-dark: #FFB7B2;
    --color-white: #FFFFFF;
    --color-off-white: #FAFAFA;
    --color-text-dark: #333333;
    --color-text-light: #666666;
    --color-shadow: rgba(0, 0, 0, 0.1);

    /* Layout */
    --max-width: 1200px;
    --nav-height: 70px;
    --border-radius: 8px;
    --transition: all 0.3s ease;

    /* Fonts */
    --font-heading: 'Cinzel', serif;
    /* Elegant serif for headings */
    --font-body: 'Lato', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-off-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    padding-top: var(--nav-height);
    /* Space for fixed header */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-maroon);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-gold-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-maroon);
    color: var(--color-maroon);
}

.btn-secondary:hover {
    background-color: var(--color-maroon);
    color: var(--color-white);
}

.section-padding {
    padding: 60px 0;
}

.text-center {
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--color-white);
    box-shadow: 0 2px 10px var(--color-shadow);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-maroon);
}

.logo span {
    color: var(--color-gold);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text-dark);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-maroon);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--color-maroon);
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--color-maroon);
    color: var(--color-white);
    padding: 40px 0;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: var(--color-gold);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-gold);
    color: var(--color-maroon);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Media Query for Mobile */
@media (max-width: 768px) {

    .nav-links,
    .auth-buttons {
        display: none;
        /* Mobile menu implementation usually requires JS toggle */
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1519741497674-611481863552?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    /* Wedding Placeholder Image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    position: relative;
    margin-top: -70px;
}

.hero {
    margin-top: 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-secondary-white {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary-white:hover {
    background-color: var(--color-white);
    color: var(--color-maroon);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px var(--color-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
}

.category-card .icon-box {
    font-size: 2.5rem;
    color: var(--color-maroon);
    margin-bottom: 15px;
}

.category-card h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    color: var(--color-text-dark);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--color-maroon);
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
}