/* ===================================
   IBIZA WEDDING FILMS - Main Styles
   =================================== */

/* CSS Variables */
:root {
    --cream: #f9f9f9;
    --dark: #333;
    --gold: #a68b6c;
    --light-gold: #c4a77d;
    --white: #fff;
    --gray: #666;
    --light-gray: #ddd;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Manrope', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

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

a:hover {
    color: var(--gold);
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    transition: var(--transition);
}

.navbar.transparent-nav {
    background: transparent;
}

.navbar-solid {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar .logo {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

.navbar-solid .logo {
    color: var(--dark);
}

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

.nav-links a {
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    position: relative;
    font-family: var(--font-serif);
}

.navbar-solid .nav-links a {
    color: var(--dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--gold);
}

.nav-links a.active::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-links a.active {
        color: var(--light-gold);
        text-shadow: 0 0 10px rgba(166, 139, 108, 0.5);
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

.navbar-solid .hamburger {
    color: var(--dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/BG-contact.jpg');
    background-size: cover;
    background-position: center;
    z-index: -3;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: -1;
}

.hero-mobile-video {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-mobile-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 1;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-content p {
    color: #fff;
    font-size: 1rem;
    letter-spacing: 3px;
}

/* Page Header */
.page-header {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-img {
    background-image: url('../images/bg-about.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.page-about .page-header-bg img {
    object-position: center bottom;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.page-header-content {
    text-align: center;
    color: #fff;
    z-index: 1;
    padding: 20px;
}

.page-header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.page-header-content p {
    color: #fff;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    border: 1px solid var(--dark);
    color: var(--dark);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--dark);
    color: #fff;
}

.btn-large {
    padding: 18px 45px;
    font-size: 1rem;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff !important;
}

.btn-whatsapp:hover {
    background: #20b857 !important;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-icon-circle {
    width: 60px;
    height: 60px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--gold);
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(255,255,255,0.95);
    padding: 35px;
    position: relative;
}

.quote-icon {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--gold);
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0;
}

/* Video Wrapper */
.video-overlap-container {
    margin-top: 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Work Text Content */
.work-text-content {
    text-align: center;
    max-width: 700px;
    margin: 4rem auto 0;
}

.work-text-content p {
    font-size: 1rem;
    color: var(--gray);
}

.work-text-content small {
    display: block;
    margin-top: 15px;
    font-style: italic;
    color: var(--gold);
}

/* About Section */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-col img {
    width: 100%;
    max-width: 450px;
}

.about-text h2 {
    margin-bottom: 20px;
}

.separator {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.package-card {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.package-card.white {
    background: var(--white);
    border: 1px solid var(--light-gray);
}

.package-card.featured {
    background: var(--dark);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.package-card.dark {
    background: #1a1a1a;
    color: #fff;
}

.package-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #fff;
    padding: 8px 20px;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.package-name {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.package-card.featured .package-name,
.package-card.dark .package-name {
    color: #fff;
}

.package-desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--gray);
}

.package-card.featured .package-desc,
.package-card.dark .package-desc {
    color: rgba(255,255,255,0.7);
}

.package-price {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 30px;
}

.package-card.featured .package-price,
.package-card.dark .package-price {
    color: var(--gold);
}

.package-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.package-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
    color: var(--gray);
}

.package-card.featured .package-features li,
.package-card.dark .package-features li {
    color: rgba(255,255,255,0.7);
    border-bottom-color: rgba(255,255,255,0.1);
}

.btn-package {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--dark);
    border: none;
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.package-card.featured .btn-package {
    background: var(--gold);
}

.package-card.white .btn-package:hover {
    background: var(--gold);
}

.package-card.featured .btn-package:hover,
.package-card.dark .btn-package:hover {
    background: var(--light-gold);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    background: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.contact-info h4 {
    margin-bottom: 10px;
    color: var(--dark);
}

.contact-info a {
    color: var(--gold);
}

.contact-method {
    margin-bottom: 25px;
}

.contact-method h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--gold);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: var(--cream);
    padding: 50px 0;
    text-align: center;
}

footer .logo {
    font-family: var(--font-serif);
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav a {
    display: inline-block;
    margin: 0 15px;
    font-size: 0.85rem;
    color: var(--gray);
}

.footer-nav a:hover {
    color: var(--gold);
}

/* CTA Section */
.cta-section {
    background: var(--dark);
    padding: 100px 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
}

.cta-section .btn {
    border-color: #fff;
    color: #fff;
}

.cta-section .btn:hover {
    background: #fff;
    color: var(--dark);
}

/* Calculator CTA */
.calculator-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 30px 40px;
    margin-top: 50px;
    border: 1px solid var(--light-gray);
}

.calculator-cta h3 {
    margin-bottom: 5px;
}

.calculator-cta p {
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background: var(--white);
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.faq-item {
    padding: 20px;
    background: var(--cream);
}

.faq-item h4 {
    margin-bottom: 15px;
    color: var(--dark);
}

.faq-item p {
    margin: 0;
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.map-content h3 {
    margin-bottom: 10px;
}

.map-content p {
    margin: 0;
    color: var(--gray);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .package-card.featured {
        transform: none;
    }
    
    .about-split {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 9999;
        overflow: hidden;
    }

    .nav-links::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 0;
    }

    .nav-links-video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: 56.25vw;
        transform: translate(-50%, -50%);
        z-index: -1;
        object-fit: cover;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: #fff !important;
        font-size: 1.5rem;
        margin: 20px 0;
        position: relative;
        z-index: 10;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }

    .hero-video-bg {
        display: none;
    }

    .hero-mobile-video {
        display: block;
    }

    .hero-content h1,
    .page-header-content h1 {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .about-split {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image-col {
        order: -1;
    }
    
    .about-image-col img {
        margin: 0 auto;
        max-width: 300px;
    }
    
    .separator {
        margin: 0 auto 30px;
    }
    
    .contact-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px;
    }

    .contact-form-wrapper,
    .contact-info {
        width: 100% !important;
    }

    .contact-info {
        text-align: center;
    }
    
    .calculator-cta {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1,
    .page-header-content h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .package-card {
        padding: 30px 20px;
    }
}
