/*
 * Tamika's Travel Site - Styles
 * Production-ready CSS for a travel deals membership site
 * Includes responsive design, animations, and modern styling
 */

/* ===== CSS Variables ===== */
:root {
    --navy: #071424;
    --teal: #19c2c2;
    --coral: #ff5a6a;
    --off-white: #f7f8fb;
    --muted-text: #9aa7b2;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(7, 20, 36, 0.08);
    --shadow-md: 0 4px 16px rgba(7, 20, 36, 0.12);
    --shadow-lg: 0 8px 32px rgba(7, 20, 36, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--navy);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal), #16a8a8);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(25, 194, 194, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 194, 194, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-search {
    width: 100%;
    margin-top: 8px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    background: linear-gradient(135deg, var(--teal), var(--coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, #0a1d35 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--teal);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--coral);
    bottom: -50px;
    right: 100px;
    animation-delay: 7s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--teal);
    top: 50%;
    right: -50px;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.powered-by {
    font-size: 14px;
    color: var(--muted-text);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.trust-chips {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 15px;
    font-weight: 500;
}

.chip i {
    color: var(--teal);
    font-size: 18px;
    animation: iconGlow 2s ease-in-out infinite;
}

/* ===== Icon Glow Animation ===== */
@keyframes iconGlow {
    0%, 100% {
        text-shadow: 0 0 8px rgba(25, 194, 194, 0.5);
    }
    50% {
        text-shadow: 0 0 16px rgba(25, 194, 194, 0.8), 0 0 24px rgba(25, 194, 194, 0.4);
    }
}

.deal-icon i,
.email-icon i {
    animation: iconGlow 2s ease-in-out infinite;
}

.deal-icon:hover i,
.email-icon:hover i {
    animation: iconGlow 1s ease-in-out infinite;
}

/* ===== How It Works Section ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(25, 194, 194, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(25, 194, 194, 0.1), rgba(255, 90, 106, 0.1));
    border-radius: 50%;
}

.feature-icon i {
    font-size: 36px;
    color: var(--teal);
    animation: iconGlow 2s ease-in-out infinite;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--navy);
}

.feature-card p {
    color: var(--muted-text);
    line-height: 1.7;
}

.cta-section {
    text-align: center;
    margin-top: 60px;
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* ===== Services Section ===== */
.services-section {
    padding: 100px 0;
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(25, 194, 194, 0.1);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(25, 194, 194, 0.1), rgba(255, 90, 106, 0.1));
    border-radius: 50%;
}

.service-icon i {
    font-size: 32px;
    color: var(--teal);
    animation: iconGlow 2s ease-in-out infinite;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--navy);
}

.service-card p {
    color: var(--muted-text);
    line-height: 1.6;
    font-size: 15px;
}

/* ===== Deals Section ===== */
.deals-section {
    padding: 100px 0;
    background: var(--off-white);
}

.section-title {
    font-size: clamp(32px, 4vw, 42px);
    text-align: center;
    margin-bottom: 16px;
    color: var(--navy);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--muted-text);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.deal-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(25, 194, 194, 0.1);
}

.deal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--coral));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.deal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.deal-card:hover::before {
    transform: scaleX(1);
}

.deal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(25, 194, 194, 0.1), rgba(255, 90, 106, 0.1));
    border-radius: 50%;
}

.deal-icon i {
    font-size: 36px;
    color: var(--teal);
}

.deal-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--navy);
}

.deal-card p {
    color: var(--muted-text);
    margin-bottom: 24px;
    line-height: 1.6;
}

.deal-link {
    display: inline-block;
    color: var(--teal);
    font-weight: 600;
    padding: 10px 24px;
    border: 2px solid var(--teal);
    border-radius: 8px;
    transition: var(--transition);
}

.deal-link:hover {
    background: var(--teal);
    color: var(--white);
}

.member-tag {
    display: inline-block;
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background: var(--coral);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Carousel Section ===== */
.carousel-section {
    padding: 100px 0;
    background: var(--white);
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: none;
}

.carousel-slide.active {
    display: flex;
}

.slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.9;
    z-index: -1;
}

.slide-1::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slide-2::before {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.slide-3::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.slide-4::before {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.slide-5::before {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.slide-6::before {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.slide-content h3 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slide-content p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 24px;
}

.slide-btn {
    margin-top: 16px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    color: var(--navy);
}

.carousel-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--muted-text);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot.active {
    background: var(--teal);
    width: 32px;
    border-radius: 6px;
}

/* ===== Email Signup ===== */
.email-signup {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy) 0%, #0a1d35 100%);
    color: var(--white);
}

.email-signup-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.email-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(25, 194, 194, 0.2), rgba(255, 90, 106, 0.2));
    border-radius: 50%;
}

.email-icon i {
    font-size: 48px;
    color: var(--teal);
}

.email-signup-card h2 {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 16px;
}

.email-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.email-cta {
    text-align: center;
    margin-bottom: 24px;
}

.email-consent {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
    text-align: center;
}

/* ===== Footer ===== */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-powered {
    font-size: 18px;
    margin-bottom: 8px;
}

.footer-copyright {
    font-size: 14px;
    color: var(--muted-text);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--teal);
    padding-left: 4px;
}

.footer-section address {
    font-style: normal;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-license {
    font-size: 13px;
    color: var(--muted-text);
    margin-top: 8px;
}

.footer-ref {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
    font-family: monospace;
}


/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav.active {
        max-height: 500px;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--off-white);
        width: 100%;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .trust-chips {
        flex-direction: column;
        align-items: center;
    }

    .features-grid,
    .services-grid,
    .deals-grid {
        grid-template-columns: 1fr;
    }

    .carousel-wrapper {
        height: 300px;
    }

    .slide-content {
        padding: 40px 20px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .email-signup-card {
        padding: 40px 24px;
    }

    .btn-large {
        width: 100%;
        padding: 16px 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .deals-section,
    .carousel-section,
    .email-signup {
        padding: 60px 0;
    }

    .deal-card {
        padding: 32px 24px;
    }
}

/* ===== Touch Support for Carousel ===== */
@media (hover: none) and (pointer: coarse) {
    .carousel-btn {
        width: 44px;
        height: 44px;
    }
}

