/* Arabian Serenity - Main Stylesheet */
/* Luxury Home Spa Website - Dubai */

/* ========================================
   ROOT VARIABLES & RESET
   ======================================== */

:root {
    /* Brand Colors - Burgundy & Gold */
    --primary: 90 30 41; /* #5B1620 - Burgundy */
    --primary-foreground: 232 214 194; /* #E8D6C2 - Beige */
    --ring: 201 162 74; /* #C9A24A - Gold */
    
    /* Neutral Colors */
    --background: 250 248 246; /* #FAF8F6 - Off White */
    --foreground: 28 25 23; /* #1C1917 - Almost Black */
    --card: 255 255 255; /* #FFFFFF - White */
    --card-foreground: 28 25 23;
    --card-border: 231 229 228; /* #E7E5E4 */
    
    /* Text Colors */
    --muted-foreground: 120 113 108; /* #78716C */
    --muted: 245 245 244; /* #F5F5F4 */
    
    /* Borders */
    --border: 231 229 228;
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Spacing */
    --container-max-width: 1280px;
    --section-padding: 128px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: rgb(var(--background));
    color: rgb(var(--foreground));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

/* ========================================
   NAVIGATION
   ======================================== */

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent;
}

.main-nav.scrolled {
    background-color: rgb(var(--primary));
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    margin-left: -0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.logo-link:hover {
    transform: translateY(-1px);
}

.logo-img {
    height: 53px;
    width: 53px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #C9A24A;
}

.main-nav.scrolled .logo-text {
    color: #C9A24A;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
    margin: 0 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.main-nav.scrolled .nav-link {
    color: rgb(var(--primary-foreground));
}

.nav-link:hover,
.nav-link.active {
    color: rgb(var(--ring));
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-icon {
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    min-width: 14rem;
    background-color: rgb(var(--card));
    border: 1px solid rgb(var(--card-border));
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: rgb(var(--card-foreground));
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgb(var(--muted));
    color: rgb(var(--ring));
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
}

.nav-cta {
    flex-shrink: 0;
}

/* Mobile Navigation */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.5rem;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    background-color: rgb(var(--primary));
    border-top: 1px solid rgba(var(--primary-foreground), 0.2);
}

.mobile-nav-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav-link,
.mobile-nav-sublink {
    display: block;
    padding: 0.5rem 0.75rem;
    color: rgb(var(--primary-foreground));
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-sublink:hover {
    background-color: rgba(var(--primary-foreground), 0.1);
    color: rgb(var(--ring));
}

.mobile-nav-section {
    margin: 0.5rem 0;
}

.mobile-nav-heading {
    font-weight: 600;
    font-size: 1rem;
    color: rgb(var(--primary-foreground));
    padding: 0.5rem 0.75rem;
}

.mobile-nav-sublink {
    padding-left: 1.5rem;
    font-size: 0.875rem;
    color: rgba(var(--primary-foreground), 0.8);
}

@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 2rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

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

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

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-book {
    background-color: rgb(var(--ring));
    color: rgb(var(--primary));
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 95vh;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--primary), 0.8), rgba(var(--primary), 0.4), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 1.5rem;
    max-width: 56rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

/* ========================================
   SECTIONS & CONTAINERS
   ======================================== */

.section {
    padding: 8rem 1.5rem;
}

.section-lg {
    padding: 10rem 1.5rem;
}

.section-md {
    padding: 6rem 1.5rem;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.container-sm {
    max-width: 56rem;
    margin: 0 auto;
}

.container-md {
    max-width: 64rem;
    margin: 0 auto;
}

.bg-primary {
    background-color: rgb(var(--primary));
    color: rgb(var(--primary-foreground));
}

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

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

/* ========================================
   GRID LAYOUTS
   ======================================== */

.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .lg-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .lg-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .md-grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .md-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* ========================================
   CARDS
   ======================================== */

.card {
    background-color: rgb(var(--card));
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card2 {
    background-color: rgb(var(--card));
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    height: 100%;
}


@media (max-width: 768px) {
    
    .card2{
        flex-direction: column;
    }
    .card2 img{
        max-height: 250px;
    }
}

.card2 {
    background-color: rgb(var(--card));
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.card-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: rgb(var(--card-foreground));
}

.card-description {
    color: rgb(var(--muted-foreground));
    margin-bottom: 1rem;
    flex: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgb(var(--ring));
    font-weight: 500;
    font-size: 0.875rem;
    margin-top: auto;
}

/* ========================================
   SECTION HEADINGS
   ======================================== */

.section-heading {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: rgb(var(--foreground));
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgb(var(--muted-foreground));
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonial-card {
    background-color: rgb(var(--background));
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgb(var(--card));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: rgb(var(--card-foreground));
}

.testimonial-name {
    font-weight: 600;
    color: rgb(var(--foreground));
}

.testimonial-location {
    font-size: 0.875rem;
    color: rgb(var(--muted-foreground));
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    width: 1.25rem;
    height: 1.25rem;
}

.star.filled {
    fill: rgb(var(--ring));
    color: rgb(var(--ring));
}

.star.empty {
    fill: rgb(var(--muted));
    color: rgb(var(--muted));
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.125rem;
    color: rgb(var(--foreground));
    line-height: 1.75;
    flex: 1;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: rgb(var(--primary));
    color: rgb(var(--primary-foreground));
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column {
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: rgb(var(--ring));
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    display: inline-block;
    font-size: 0.875rem;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: rgb(var(--ring));
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-icon {
    color: rgb(var(--ring));
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-item a {
    font-size: 0.875rem;
}

.contact-item a:hover {
    color: rgb(var(--ring));
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: rgba(var(--primary-foreground), 0.1);
    color: rgb(var(--ring));
}

.footer-hours {
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid rgba(var(--primary-foreground), 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(var(--primary-foreground), 0.8);
}

/* ========================================
   WHATSAPP FLOAT BUTTON
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 25px 50px -12px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   FORMS
   ======================================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: rgb(var(--primary));
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    background-color: rgb(var(--card));
    border: 1px solid rgb(var(--card-border));
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: rgb(var(--ring));
    box-shadow: 0 0 0 3px rgba(var(--ring), 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-success {
    background-color: #dcfce7;
    color: #166534;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #86efac;
}

/* ========================================
   ACCORDION (FAQ)
   ======================================== */

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: rgb(var(--card));
    border: 1px solid rgb(var(--card-border));
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-trigger {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    color: rgb(var(--card-foreground));
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s ease;
}

.accordion-trigger:hover {
    color: rgb(var(--ring));
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content-inner {
    padding: 0 1.5rem 1.5rem;
    color: rgb(var(--muted-foreground));
}

/* ========================================
   PACKAGE CARDS
   ======================================== */

.package-card {
    background-color: rgb(var(--card));
    border: 1px solid rgb(var(--card-border));
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.package-card.highlighted {
    background-color: rgb(var(--primary));
    color: rgb(var(--primary-foreground));
    border: 2px solid rgb(var(--ring));
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.package-title {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.package-card.highlighted .package-title {
    color: rgb(var(--ring));
}

.package-description {
    margin-bottom: 1.5rem;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.package-check {
    color: rgb(var(--ring));
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* ========================================
   GALLERY
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--primary), 0.9), rgba(var(--primary), 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

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

.gallery-category {
    background-color: rgb(var(--ring));
    color: rgb(var(--primary));
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

@media (max-width: 640px) {
    .section {
        padding: 4rem 1rem;
    }
    
    .section-lg {
        padding: 6rem 1rem;
    }
}

/* ========================================
   BLOG
   ======================================== */

.blog-card {
    background-color: rgb(var(--background));
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
}

.blog-card-horizontal {
    flex-direction: row;
}

.blog-card-horizontal .blog-image {
    width: 40%;
    height: auto;
}

.blog-card-horizontal .blog-content {
    width: 60%;
}

.blog-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    display: inline-block;
    background-color: rgb(var(--ring));
    color: rgb(var(--primary));
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.blog-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: rgb(var(--foreground));
}

.blog-excerpt {
    color: rgb(var(--muted-foreground));
    margin-bottom: 1rem;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgb(var(--muted-foreground));
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .blog-card-horizontal {
        flex-direction: column;
    }
    
    .blog-card-horizontal .blog-image,
    .blog-card-horizontal .blog-content {
        width: 100%;
    }
    
    .blog-image {
        height: 12rem;
    }
}

/* ========================================
   PRIVACY POLICY / CONTENT PAGES
   ======================================== */

.content-section {
    padding: 6rem 1.5rem;
}

.content-container {
    max-width: 56rem;
    margin: 0 auto;
}

.content-section h2 {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgb(var(--foreground));
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: rgb(var(--foreground));
}

.content-section ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-section ul li {
    margin-bottom: 0.5rem;
    color: rgb(var(--foreground));
}

.content-section .content-block {
    margin-bottom: 3rem;
}
