/* Custom CSS for Thai Massage and Spa */

/* Custom Properties */
:root {
    --sage: #8BA892;
    --gold: #D4AF37;
    --teal: #2D5A5A;
    --cream: #F8F6F1;
    --beige: #E8E0D5;
    --sand: #D2C4B7;
    --text-primary: #2C2C2C;
    --text-secondary: #5A5A5A;
    --text-light: #8A8A8A;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom button styles */
.btn-primary {
    background: linear-gradient(135deg, var(--sage), var(--teal));
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 168, 146, 0.3);
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 168, 146, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--teal);
    border: 2px solid var(--teal);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--teal);
    color: white;
}

/* Service card hover effects */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid var(--beige);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form styles */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--beige);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(139, 168, 146, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Testimonial styles */
.testimonial-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--sage);
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--teal);
}

/* Price table styles */
.price-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.price-table th {
    background: var(--teal);
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: 600;
}

.price-table td {
    padding: 16px;
    border-bottom: 1px solid var(--beige);
}

.price-table tr:hover {
    background: var(--cream);
}

/* Map container */
.map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .price-table {
        font-size: 14px;
    }
    
    .price-table th,
    .price-table td {
        padding: 12px 8px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--sage);
    outline-offset: 2px;
}

/* Logo styles */
.navbar-logo {
    height: 64px;
    width: auto;
    max-width: 280px;
}

.footer-logo {
    height: 64px;
    width: auto;
    max-width: 250px;
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
    .navbar-logo {
        height: 48px;
    }
    
    .footer-logo {
        height: 56px;
    }
}

/* Navigation menu hover effects */
nav a:not(.bg-sage) {
    transition: color 0.3s ease, transform 0.2s ease;
}

nav a:not(.bg-sage):hover {
    color: var(--sage) !important;
    transform: translateY(-1px);
}

/* Service card improvements */
.service-card {
    min-height: fit-content;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-card p {
    word-break: normal;
    hyphens: auto;
}

/* Keep the Book Now button styling */
nav a.bg-sage {
    transition: background-color 0.3s ease, transform 0.2s ease;
}

nav a.bg-sage:hover {
    transform: translateY(-1px);
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
} 