/* style.css
   Compact card size + image covers top half (zoom/crop)
   Button never touches bottom edge
*/

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

:root {
    --primary-red: #C85A5A;
    --cream: #F5F1E8;
    --dark-red: #A04848;
    --text-dark: #2C2C2C;
    --text-light: #666;
    --shadow: rgba(200, 90, 90, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream);
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--cream);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
}

.logo-img {
    height: 150px;
    width: auto;
    max-width: 100%;
    transition: all 0.3s ease;
    padding: 10px 0;
}

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

/* Main content */
.main {
    padding: 40px 0;
}

.hero {
    text-align: center;
    margin-bottom: 50px;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary-red);
    margin-bottom: 15px;
    font-weight: 600;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Tour options grid */
.tour-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

/* ---------- CARD: compact size ---------- */
/* Keep a fixed, compact height so cards are not extremely tall */
.tour-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    /* clips image to rounded corners */
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.28s ease;
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 400px;
    /* compact height (matches older size) */
    max-height: 400px;
}

/* Hover state */
.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 46px var(--shadow);
    border-color: rgba(200, 90, 90, 0.12);
}

.tour-card:active {
    transform: translateY(-2px);
}

/* Image takes exactly the top half and sits flush with the white card edge */
.tour-image {
    flex: 0 0 50%;
    width: 100%;
    overflow: hidden;
    background: #f8f8f8;
}

/* Zoom/crop the image so it fills the area (safe if you don't mind some cropping) */
.tour-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* crop/zoom to fill */
    object-position: center;
    transform: scale(1.06);
    /* initial slight zoom so image looks filled */
    transition: transform 0.45s ease;
}

/* Gentle additional zoom on hover */
.tour-card:hover .tour-image img {
    transform: scale(1.12);
}

/* Content area: reduced padding to keep the card compact.
   Center items vertically so layout looks balanced in the smaller card. */
.tour-content {
    flex: 1;
    padding: 18px 28px 22px;
    /* reduced padding compared to previous iteration */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* centers title/desc/button vertically */
    align-items: center;
    gap: 14px;
    /* small gap between elements */
}

/* Visual/icon (if used) */
.tour-icon {
    font-size: 2.6rem;
    margin-bottom: 6px;
    filter: grayscale(20%);
}

/* Title and text - slightly smaller so they fit better in compact card */
.tour-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary-red);
    margin: 0;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
}

.tour-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
    max-width: 85%;
    text-align: center;
    font-size: 1rem;
}

/* Book button: compact and centered.
   Bottom gap is provided by .tour-content's bottom padding so the button never touches the edge. */
.book-btn {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    border: none;
    padding: 12px 36px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.28s ease;
    align-self: center;
    margin-top: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.book-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(200, 90, 90, 0.12);
}

.book-btn:active {
    transform: translateY(0);
}

/* ---------- Responsive tweaks (keeps compact size) ---------- */
@media (min-width: 480px) {
    .tour-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-img {
        height: 170px;
    }

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

    /* Slightly increase the card height on narrow desktop if desired */
    .tour-card {
        height: 400px;
        /* still compact */
        max-height: 400px;
    }

    .tour-card h3 {
        font-size: 1.7rem;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }

    .main {
        padding: 60px 0;
    }

    .hero {
        margin-bottom: 70px;
    }

    /* keep the compact feel even on larger screens */
    .tour-card {
        height: 400px;
    }

    .tour-image {
        flex-basis: 50%;
    }

    .tour-content {
        padding: 20px 36px 24px;
        gap: 16px;
    }

    .tour-card h3 {
        font-size: 1.9rem;
    }
}

@media (min-width: 1024px) {
    .tour-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .logo-img {
        height: 200px;
    }

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

    .tour-card {
        height: 400px;
        /* keep steady */
    }
}

/* Small devices — slightly reduce padding so content fits */
@media (max-width: 479px) {
    .tour-card {
        height: 360px;
        /* slight reduction for tiny screens */
        max-height: 360px;
    }

    .tour-card h3 {
        font-size: 1.4rem;
    }

    .book-btn {
        padding: 10px 28px;
    }

    .tour-content {
        padding: 14px 18px 18px;
        gap: 10px;
    }
}

/* C
ontact Section */
.contact-section {
    margin-top: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    border-radius: 20px;
    margin-bottom: 40px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.contact-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 30px;
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    font-size: 2rem;
}

.contact-details h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.social-links h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-link span {
    font-size: 1.5rem;
}

/* Responsive contact section */
@media (min-width: 768px) {
    .contact-info {
        flex-direction: row;
        justify-content: space-around;
    }

    .contact-section {
        margin-top: 80px;
    }
}

/* Social Media Sidebar */
.social-sidebar {
    position: fixed;
    right: 15px;
    top: 50vh;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1000;
    will-change: transform;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    background: white;
    padding: 4px;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.social-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-sidebar {
        right: 8px;
        gap: 6px;
        top: 50vh;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .social-icon {
        width: 30px;
        height: 30px;
        padding: 3px;
    }
}