/* Travel Memory Books - Main CSS */

/* CSS Variables - 5 Primary Colors + Variants */
:root {
    /* Primary Colors */
    --primary-blue: #2E5C8A;
    --primary-orange: #E67E22;
    --primary-teal: #16A085;
    --primary-purple: #8E44AD;
    --primary-green: #27AE60;
    
    /* Light Shades */
    --light-blue: #85C1E9;
    --light-orange: #F8C471;
    --light-teal: #7FB3D3;
    --light-purple: #BB8FCE;
    --light-green: #82E5B5;
    
    /* Dark Shades */
    --dark-blue: #1B4F72;
    --dark-orange: #D35400;
    --dark-teal: #0E6251;
    --dark-purple: #6C3483;
    --dark-green: #1E8449;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #343A40;
    --black: #212529;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
    --gradient-secondary: linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
    --gradient-accent: linear-gradient(135deg, var(--primary-green), var(--primary-teal));
    
    /* Font Sizes - Conservative */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
  overflow-x: hidden !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-base);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Typography */
h1, .h1 {
    font-size: var(--font-3xl);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-lg);
}

h2, .h2 {
    font-size: var(--font-2xl);
    font-weight: 600;
    color: var(--primary-teal);
    margin-bottom: var(--spacing-md);
}

h3, .h3 {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: var(--spacing-md);
}

h4, .h4 {
    font-size: var(--font-lg);
    font-weight: 500;
    color: var(--primary-orange);
    margin-bottom: var(--spacing-sm);
}

h5, .h5 {
    font-size: var(--font-base);
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
}

h6, .h6 {
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--gray);
    margin-bottom: var(--spacing-sm);
}

p {
    font-size: var(--font-base);
    margin-bottom: var(--spacing-md);
    color: var(--gray);
}

/* Conservative Navbar Brand Size */
.navbar-brand {
    font-size: var(--font-lg) !important;
    font-weight: 600;
    color: var(--primary-blue) !important;
}

/* Header Styles */
.navbar {
    background: var(--gradient-primary) !important;
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md) 0;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 var(--spacing-sm);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--light-orange) !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../MEA_images/hero-bg.webp') center/cover;
    opacity: 0.2;
    z-index: 1;
}

.hero-section .container-fluid {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--white);
    font-size: var(--font-4xl);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section h3 {
    color: var(--light-orange);
    font-size: var(--font-xl);
}

.hero-section p {
    color: var(--light-gray);
    font-size: var(--font-lg);
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--light-gray);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-card img {
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.service-card .price {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--primary-orange);
    margin-top: var(--spacing-lg);
}

/* Price Cards */
.price-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    transition: all 0.3s ease;
    height: 100%;
}

.price-card:hover {
    border-color: var(--primary-teal);
    transform: translateY(-3px);
}

.price-card.featured {
    border-color: var(--primary-orange);
    background: var(--gradient-secondary);
    color: var(--white);
}

.price-card .price {
    font-size: var(--font-3xl);
    font-weight: 700;
    color: var(--primary-green);
    margin: var(--spacing-lg) 0;
}

.price-card.featured .price {
    color: var(--white);
}

/* Team Members */
.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--primary-teal);
    transition: all 0.3s ease;
}

.team-member:hover img {
    border-color: var(--primary-orange);
    transform: scale(1.05);
}

/* Reviews Slider */
.reviewsSwiper {
    padding: var(--spacing-xl) 0;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    margin: var(--spacing-md);
}

.review-card p {
    font-style: italic;
    color: var(--gray);
    margin-bottom: var(--spacing-lg);
}

/* Case Studies */
.case-study-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.case-study-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Process Steps */
.process-step {
    padding: var(--spacing-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-xl);
    font-weight: 700;
    margin: 0 auto var(--spacing-lg);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
    box-shadow: var(--shadow-md);
    position: relative;
    width: 45%;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
}

.timeline-item:nth-child(even) {
    margin-left: 55%;
}

/* Career Cards */
.career-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
}

.career-card:hover {
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-lg);
}

/* Blog Cards */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: var(--spacing-xl);
}

/* FAQ Accordion */
.accordion-button {
    background: var(--light-gray);
    border: none;
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: var(--white);
}

/* Gallery */
#gallery img {
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
}

.form-control {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 0.2rem rgba(22, 160, 133, 0.25);
}

/* Buttons */
.btn {
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-xl);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
footer {
    background: var(--dark-blue !important;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--light-orange) !important;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

/* Feature Cards */
.feature-card, .feature-item, .tip-card, .planning-card, .memory-card, .core-info-card, .material-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.feature-card:hover, .feature-item:hover, .tip-card:hover, .planning-card:hover, .memory-card:hover, .core-info-card:hover, .material-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.feature-card i, .feature-item i, .tip-card i, .planning-card i, .memory-card i, .core-info-card i, .material-card i {
    color: var(--primary-teal);
}

/* Additional Page Cards */
.destination-card, .template-card, .custom-card, .layout-card, .inspiration-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.destination-card:hover, .template-card:hover, .custom-card:hover, .layout-card:hover, .inspiration-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.destination-card img, .template-card img, .layout-card img, .inspiration-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: var(--spacing-lg);
}

/* Order Steps */
.order-step {
    text-align: center;
    padding: var(--spacing-lg);
}

.order-step .step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-lg);
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}

/* Responsive Text Sizes */
@media (max-width: 768px) {
    h1, .h1 { font-size: var(--font-2xl); }
    h2, .h2 { font-size: var(--font-xl); }
    h3, .h3 { font-size: var(--font-lg); }
    .navbar-brand { font-size: var(--font-base) !important; }
    .hero-section h1 { font-size: var(--font-2xl); }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar, footer, .btn { display: none !important; }
    body {
  overflow-x: hidden !important; color: black !important; background: white !important; }
} 