/* CSS Variables */
:root {
    --indigo: #1e3a8a;
    --washi-beige: #f5f1eb;
    --persimmon: #ea580c;
    --white: #ffffff;
    --gray-light: #f9fafb;
    --gray-medium: #6b7280;
    --gray-dark: #374151;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--washi-beige);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--indigo);
    border: 2px solid var(--indigo);
}

.btn-secondary:hover {
    background-color: var(--indigo);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-primary.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    width: 48px;
    height: 48px;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--indigo);
    margin: 0;
}

.brand-name a {
    color: var(--indigo);
    text-decoration: none;
}

.brand-tagline {
    font-size: 0.9rem;
    color: var(--persimmon);
    margin: 0;
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--washi-beige) 0%, #f0ede6 100%);
}

.hero-layout {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    color: var(--indigo);
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-image {
    flex: 0 0 500px;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow);
}

/* Sections */
.introduction, .services, .guides, .gallery, .products, .booking {
    padding: 80px 0;
}

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

.services {
    background-color: var(--gray-light);
}

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

.gallery {
    background-color: var(--gray-light);
}

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

.booking {
    background-color: var(--gray-light);
}

/* Centered sections for index page */
.centered-section {
    text-align: center;
}

.centered-section .container > h2 {
    text-align: center;
}

.centered-section .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 32px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.service-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px var(--shadow-hover);
}

.service-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.service-card h3 {
    color: var(--indigo);
    margin-bottom: 16px;
}

.service-card p {
    color: var(--gray-dark);
    line-height: 1.6;
}

/* Guides Grid */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.guide-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px var(--shadow-hover);
}

.guide-image {
    height: 200px;
    overflow: hidden;
}

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

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

.guide-content {
    padding: 24px;
}

.guide-content h3 {
    color: var(--indigo);
    margin-bottom: 12px;
}

.guide-content p {
    color: var(--gray-dark);
    margin-bottom: 16px;
}

.guide-link {
    color: var(--persimmon);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.guide-link:hover {
    color: #dc2626;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.gallery-item {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
}

.before-after {
    display: flex;
}

.before, .after {
    flex: 1;
    position: relative;
}

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

.label {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--indigo);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.after .label {
    background-color: var(--persimmon);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px var(--shadow-hover);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

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

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

.product-card h3 {
    color: var(--indigo);
    margin: 20px 16px 12px;
}

.product-card p {
    color: var(--gray-dark);
    margin: 0 16px 16px;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--persimmon);
    margin: 16px;
}

.product-card .btn-primary,
.product-card .btn-secondary {
    margin: 0 16px 20px;
    display: inline-block;
}

/* Booking Section */
.booking-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.booking-text {
    flex: 1;
}

.booking-text h3 {
    color: var(--indigo);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.booking-text ul {
    list-style: none;
    margin: 24px 0;
}

.booking-text li {
    padding: 8px 0;
    position: relative;
    padding-left: 24px;
}

.booking-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--persimmon);
    font-weight: bold;
}

.booking-actions {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Contacts */
.contacts {
    padding: 80px 0;
    background-color: var(--white);
}

.contacts h2 {
    text-align: center;
    color: var(--indigo);
    margin-bottom: 48px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 32px 20px;
    background-color: var(--gray-light);
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--shadow);
}

.contact-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.contact-item h3 {
    color: var(--indigo);
    margin-bottom: 12px;
}

.contact-item p {
    color: var(--gray-dark);
    margin-bottom: 8px;
}

/* Footer */
.footer {
    background-color: var(--indigo);
    color: var(--washi-beige);
    padding: 60px 0 20px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 40px;
}

.footer-brand {
    flex: 1;
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-description {
    color: var(--washi-beige);
    opacity: 0.9;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 60px;
    flex: 2;
}

.footer-section h4 {
    color: var(--washi-beige);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--washi-beige);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--persimmon);
}

.footer-contact p {
    color: var(--washi-beige);
    opacity: 0.9;
    margin-bottom: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(245, 241, 235, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--washi-beige);
    opacity: 0.8;
    margin: 0;
}

/* Responsive Design */

/* Centered sections for index page */
.centered-section {
    text-align: center;
}

.centered-section .container > h2 {
    text-align: center;
}

.centered-section .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 32px;
}

@media (max-width: 1024px) {
    .hero-layout {
        gap: 40px;
    }
    
    .hero-image {
        flex: 0 0 400px;
    }
    
    .hero-img {
        height: 300px;
    }
    
    .services-grid,
    .guides-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-nav {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    
    .hero-image {
        flex: none;
        max-width: 400px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .header .container {
        flex-direction: column;
        gap: 16px;
    }
    
    .services-grid,
    .guides-grid,
    .products-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        text-align: center;
    }
    
    .footer-nav {
        gap: 20px;
    }
}