/* Luxury Events Planner CSS - Burgundy & Beige Palette */

:root {
    --primary-burgundy: #B03052;
    --secondary-pink: #D76C82;
    --dark-burgundy: #3D0301;
    --white: #FFFFFF;
    --beige-background: #EBE8DB;
    --light-beige: #F5F2E8;
    --charcoal-black: #111111;
    --shadow-light: rgba(176, 48, 82, 0.1);
    --shadow-medium: rgba(176, 48, 82, 0.2);
    --shadow-dark: rgba(61, 3, 1, 0.3);
    /* Added missing variables used by utility classes */
    --primary-maroon: #B03052;
    --deep-maroon: #800000;
    --gold-accent: #C7A36A;
    --light-gray: #F2F2F2;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-burgundy);
    background-color: var(--beige-background);
}

/* Typography */
.font-serif {
    font-family: 'Playfair Display', 'Cormorant', 'Cinzel', serif;
}

.font-sans {
    font-family: 'Lato', 'Montserrat', 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark-burgundy);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.8rem;
    line-height: 1.3;
}

h3 {
    font-size: 2.2rem;
    line-height: 1.4;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--dark-burgundy) 100%);
    box-shadow: 0 4px 20px var(--shadow-medium);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white) !important;
    text-decoration: none;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 1rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    background-color: var(--white);
    color: var(--primary-burgundy) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--dark-burgundy) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Buttons */
.btn-luxury {
    background: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--secondary-pink) 100%);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(176, 48, 82, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-luxury:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(176, 48, 82, 0.4);
    color: var(--white);
    text-decoration: none;
}

.btn-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-luxury:hover::before {
    left: 100%;
}

.btn-outline-luxury {
    background: transparent;
    color: var(--primary-burgundy);
    border: 2px solid var(--primary-burgundy);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline-luxury:hover {
    background: var(--primary-burgundy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
    text-decoration: none;
}

/* Cards */
.luxury-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--light-beige);
    position: relative;
    overflow: hidden;
}

.luxury-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-burgundy), var(--secondary-pink), var(--primary-burgundy));
}

.luxury-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.luxury-card .icon {
    font-size: 3rem;
    color: var(--primary-burgundy);
    margin-bottom: 1.5rem;
    display: block;
}

.luxury-card h5 {
    color: var(--dark-burgundy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.luxury-card p {
    color: #666;
    line-height: 1.6;
}

/* Section Dividers */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-burgundy), var(--secondary-pink), var(--primary-burgundy), transparent);
    margin: 4rem auto;
    max-width: 200px;
    border-radius: 2px;
}

/* Testimonials */
.testimonial-card {
    background: var(--light-beige);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-burgundy);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--dark-burgundy);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-burgundy);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(176, 48, 82, 0.95) 0%, rgba(61, 3, 1, 0.95) 100%);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay-content {
    text-align: center;
    color: var(--white);
    transform: translateY(30px) scale(0.9);
    transition: all 0.4s ease;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Contact Form */
.contact-form {
    background: var(--light-beige);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-burgundy);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-burgundy);
    box-shadow: 0 0 0 3px rgba(176, 48, 82, 0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-burgundy) 0%, var(--charcoal-black) 100%);
    color: var(--white);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--secondary-pink);
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-pink);
}

.social-links a {
    display: inline-block;
    margin: 0 1rem;
    font-size: 1.5rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-pink);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .luxury-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.2rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-luxury {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .luxury-card {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-primary-maroon {
    color: var(--primary-maroon) !important;
}

.text-deep-maroon {
    color: var(--deep-maroon) !important;
}

.text-gold {
    color: var(--gold-accent) !important;
}

.bg-primary-maroon {
    background-color: var(--primary-maroon) !important;
}

.bg-deep-maroon {
    background-color: var(--deep-maroon) !important;
}

.bg-light-gray {
    background-color: var(--light-gray) !important;
}

.border-primary-maroon {
    border-color: var(--primary-maroon) !important;
}

/* Trust bar */
.trust-bar .trust-logo {
    height: 40px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.trust-bar .trust-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-2px);
}

/* Stats */
.stats-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.2));
}
.stat-card {
    background: var(--white);
    border: 1px solid var(--light-beige);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.stat-number {
    font-family: 'Playfair Display', serif;
    color: var(--primary-burgundy);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

/* Loading Animation */
.loading-spinner {
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary-maroon);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Compact Contact Page Styles */
.contact-hero {
    padding: 3rem 0; /* smaller hero height */
}

.contact-section {
    padding: 2rem 0; /* less section padding */
}

.contact-section .luxury-card {
    padding: 1rem; /* smaller cards */
    margin-bottom: 1rem;
}

.contact-section .luxury-card .icon {
    font-size: 2rem; /* smaller icons */
    margin-bottom: 0.5rem;
}

.contact-form {
    padding: 1.5rem; /* reduced form padding */
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1rem; /* less spacing between fields */
}

.contact-form .form-control {
    padding: 0.6rem 0.9rem; /* smaller input height */
    font-size: 0.95rem;
}

.contact-form button {
    padding: 0.7rem 1rem;
    font-size: 1rem;
}

/* Map smaller */
.contact-section .map iframe {
    height: 150px;
}
/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Individual Portfolio Item */
.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Images within Portfolio Item */
.portfolio-item img {
    width: 100%;
    height: 16rem; /* 64 * 4 px */
    object-fit: cover;
}

/* Overlay on Hover */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--dark-burgundy) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    color: var(--white);
    text-align: center;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Overlay Content */
.portfolio-overlay-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.portfolio-overlay-content p {
    font-size: 1rem;
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .portfolio-item img {
        height: 12rem;
    }

    .portfolio-overlay-content h3 {
        font-size: 1.5rem;
    }

    .portfolio-overlay-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .portfolio-item img {
        height: 10rem;
    }

    .portfolio-overlay-content h3 {
        font-size: 1.25rem;
    }

    .portfolio-overlay-content p {
        font-size: 0.85rem;
    }
}

/* Portfolio Modal Animations */
@keyframes modalGlow {
  0% {
    box-shadow: 0 15px 40px rgba(176, 48, 82, 0.4), 0 0 30px rgba(176, 48, 82, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }
  100% {
    box-shadow: 0 20px 50px rgba(176, 48, 82, 0.6), 0 0 40px rgba(176, 48, 82, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
}

@keyframes borderGlow {
  0% { opacity: 0.2; }
  50% { opacity: 0.4; }
  100% { opacity: 0.2; }
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

/* Force hero to full-bleed width */
.hero-section {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Full-width layout adjustments */
html, body {
	overflow-x: hidden;
}

/* Full-bleed navbar background */
.navbar {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Full-bleed hero background */
.hero-section {
	width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

/* Full-bleed footer background */
.footer {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Reusable full-bleed helper */
.section-fullbleed {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}