/* =========================================
   Eventcast.pro | Main Stylesheet
   Vibe: Warm, Emotional, Family, Festive
========================================= */

:root {
    /* Color Palette */
    --primary-color: #d4af37;
    /* Warm Gold */
    --primary-hover: #b8962c;
    --secondary-color: #722f37;
    /* Wine/Maroon */

    --bg-dark: #2c1a1f;
    /* Warm dark brown/black */
    --bg-light: #fdfaf6;
    /* Warm off-white */
    --bg-card: #ffffff;

    --text-dark: #333333;
    --text-light: #fefefe;
    --text-muted: #666666;

    /* Typograpy */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing & Borders */
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.text-left {
    text-align: left;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

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

.bg-warm {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.w-100 {
    width: 100%;
}

.mt-4 {
    margin-top: 40px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-light);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--secondary-color);
}

/* Navigation - Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: rgba(253, 250, 246, 0.85);
    /* Warm white glass */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 75px;
    width: auto;
    /* Adjusted for the new taller logo aspect ratio */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 600;
    color: var(--text-dark);
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(114, 47, 55, 0.9), rgba(212, 175, 55, 0.8)), url('assets/portfolio_wedding_1774734956625.png') center/cover;
    color: var(--text-light);
    padding-top: 80px;
    /* offset navbar */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

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

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-tags {
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-color);
}

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

/* Services / Event Types */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
}

/* Technology / Equipment */
.technology {
    background-color: #fff;
}

.tech-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-list {
    margin-top: 30px;
}

.tech-list li {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.tech-list strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 5px;
}

.tech-visual {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-glow-circle {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    position: absolute;
    border-radius: 50%;
    animation: pulse 4s infinite alternate;
}

.tech-card-glass {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    text-align: center;
    z-index: 2;
}

.tech-card-glass h3 {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Portfolio Gallery */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 26, 31, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--text-light);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

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

.portfolio-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.portfolio-overlay span {
    color: var(--primary-color);
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    background-color: #fff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.review-card::before {
    content: "“";
    font-family: var(--font-heading);
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.2);
    position: absolute;
    top: -10px;
    left: 20px;
}

.stars {
    color: #e6b800;
    /* Warm star gold */
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.review-card h4 {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.review-role {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Booking Form */
.book-now {
    position: relative;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.form-box {
    background: var(--bg-card);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #fafafa;
    transition: var(--transition);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 20px;
    max-width: 300px;
}

.footer h3 {
    color: var(--text-light);
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible,
.slide-up.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Responsive */
@media (max-width: 900px) {

    .tech-layout,
    .form-container,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .tech-visual {
        min-height: 300px;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile Menu styles can be expanded in JS/CSS if needed */
    .hero-actions {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .form-box {
        padding: 30px 20px;
    }
}