/* Swivel Snaps Stylesheet */

/* CSS Variables */
:root {
    --color-primary: #cd2653;
    --color-primary-dark: #a61e42;
    --color-link: #333399;
    --color-link-hover: #4CBB17;
    --color-text: #000000;
    --color-text-secondary: #6d6d6d;
    --color-border: #dcd7ca;
    --color-bg: #ffffff;
    --color-bg-alt: #f5f5f5;
    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

a {
    color: var(--color-link);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Header */
.site-header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    overflow: visible;
}

.header-logo .logo-img {
    height: 50px;
    width: auto;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
    flex-shrink: 0;
    overflow: visible;
}

.header-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgb(51, 51, 153);
    transition: color 0.3s ease;
    flex-shrink: 0;
    overflow: visible;
}

.header-social-link:hover {
    color: rgb(76, 187, 23);
}

.header-social-link svg,
.header-social-link img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    overflow: visible;
    /* Filter to convert black to rgb(51, 51, 153) */
    filter: invert(21%) sepia(88%) saturate(1852%) hue-rotate(224deg) brightness(87%) contrast(92%);
    transition: filter 0.3s ease;
}

.header-social-link:hover svg,
.header-social-link:hover img {
    /* Filter to convert black to rgb(76, 187, 23) */
    filter: invert(58%) sepia(68%) saturate(531%) hue-rotate(67deg) brightness(95%) contrast(93%);
}

@media (max-width: 768px) {
    .header-social {
        display: none;
    }
}

.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-link-hover);
    border-bottom-color: var(--color-link-hover);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-text);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Mobile Nav */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--color-border);
    }

    .nav-link {
        display: block;
        padding: 15px 0;
    }
}

/* Main Content */
.site-main {
    min-height: calc(100vh - var(--header-height) - 200px);
}

/* Hero Video Section */
.hero-video-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    background: white;
}

.hero-video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
}

.hero-logo {
    max-width: 250px;
    height: auto;
    margin: 0 auto 20px;
}

.hero-tagline {
    font-size: 48px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

@media (max-width: 768px) {
    .hero-video-section {
        height: 60vh;
        min-height: 400px;
    }

    .hero-logo {
        max-width: 180px;
    }

    .hero-tagline {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-icon {
    width: 24px;
    height: 24px;
}

/* Section Titles */
.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-text);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background: var(--color-bg-alt);
}

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

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.feature-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Video CTA Section */
.video-cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
}

.video-cta-section .section-title {
    color: white;
    margin-bottom: 30px;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0;
}

.gallery-carousel {
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 20px;
    will-change: transform;
}

.gallery-item {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    background: var(--color-bg-alt);
}

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

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

/* Dream Section */
.dream-section {
    padding: 60px 0;
}

.dream-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .dream-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

.dream-item {
    border-radius: 8px;
    overflow: hidden;
}

.dream-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Products Section */
.products-section {
    padding: 60px 0;
    background: var(--color-bg-alt);
}

.products-carousel {
    overflow: hidden;
}

.products-track {
    display: flex;
    gap: 20px;
    will-change: transform;
}

.product-item {
    flex-shrink: 0;
    width: 250px;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-item img {
    width: 100%;
    height: auto;
}

/* Page Hero */
.page-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    text-align: center;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* Videos Grid Section */
.videos-grid-section {
    padding: 60px 0;
    background: var(--color-bg-alt);
}

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

@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Video Content */
.video-content {
    padding: 60px 0;
}

.video-cta-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: var(--color-bg-alt);
    border-radius: 12px;
}

.video-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--color-primary);
}

.video-icon svg {
    width: 100%;
    height: 100%;
}

.video-cta-box h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.video-cta-box p {
    color: var(--color-text-secondary);
    margin-bottom: 25px;
}

/* Gallery Page */
.gallery-page-content {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gallery-grid-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-grid-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 30px;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* News Timeline */
.news-timeline {
    padding: 60px 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--color-border);
}

@media (max-width: 576px) {
    .timeline-item {
        flex-direction: column;
        gap: 15px;
    }
}

.timeline-date {
    flex-shrink: 0;
    width: 120px;
    font-weight: 700;
    color: var(--color-primary);
}

.timeline-content {
    flex: 1;
}

.timeline-img {
    width: 100px;
    height: auto;
    border-radius: 8px;
    float: right;
    margin: 0 0 15px 15px;
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--color-text-secondary);
}

/* FAQ */
.faq-content {
    padding: 60px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 25px 0;
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-text);
}

.faq-answer {
    color: var(--color-text-secondary);
}

.faq-answer ul {
    margin-top: 15px;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

/* Connect Page */
.connect-content {
    padding: 60px 0;
}

.connect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .connect-grid {
        grid-template-columns: 1fr;
    }
}

.connect-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.connect-image img {
    max-width: 100%;
    height: auto;
}

.connect-social-section {
    text-align: center;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.connect-social-section h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.connect-social-section p {
    color: var(--color-text-secondary);
    margin-bottom: 25px;
}

.connect-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--color-bg-alt);
    border-radius: 8px;
    color: var(--color-text);
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--color-link-hover);
    color: white;
}

.social-btn svg,
.social-btn img {
    width: 24px;
    height: 24px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-family);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

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

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #dc3545;
}

.field-error {
    color: #dc3545;
    font-size: 12px;
}

.form-errors {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
}

.btn-submit {
    align-self: flex-start;
}

/* Contact Success */
.contact-success {
    text-align: center;
    padding: 40px;
    background: var(--color-bg-alt);
    border-radius: 8px;
}

.success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: #28a745;
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.contact-success h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.contact-success p {
    color: var(--color-text-secondary);
}

.success-note {
    font-size: 14px;
    margin-top: 15px;
}

/* Footer */
.site-footer {
    background: var(--color-bg);
    color: var(--color-text);
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-logo-img {
    height: 50px;
    margin: 0 auto 20px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(51, 51, 153);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: rgb(76, 187, 23);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link img {
    width: 24px;
    height: 24px;
    /* Filter to convert black to rgb(51, 51, 153) */
    filter: invert(21%) sepia(88%) saturate(1852%) hue-rotate(224deg) brightness(87%) contrast(92%);
    transition: filter 0.3s ease;
}

.social-link:hover img {
    /* Filter to convert black to rgb(76, 187, 23) */
    filter: invert(58%) sepia(68%) saturate(531%) hue-rotate(67deg) brightness(95%) contrast(93%);
}

.footer-copyright {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.footer-copyright a {
    color: var(--color-link);
    text-decoration: underline;
}

.footer-copyright a:hover {
    color: var(--color-link-hover);
}

.footer-credit {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-top: 8px;
}

.footer-credit a {
    color: var(--color-link);
    text-decoration: underline;
}

.footer-credit a:hover {
    color: var(--color-link-hover);
}
