/* ============================================
   ALTAF'S CAFE - SHARED STYLES
   ============================================ */

/* CSS Variables */
:root { 
    --altaf-brown: #6B4423;
    --altaf-cream: #E8DCC8;
    --altaf-dark: #3D2817;
    --altaf-light: #F5E6D3;
    --altaf-hover: #8B5E3C;
}

/* Base Styles */
body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--altaf-light); 
    color: #1e293b;
}

h1, h2, h3, h4, h5, h6, .serif { 
    font-family: 'Playfair Display', serif; 
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar { 
    width: 4px; 
}

.custom-scrollbar::-webkit-scrollbar-track { 
    background: transparent; 
}

.custom-scrollbar::-webkit-scrollbar-thumb { 
    background: #cbd5e1; 
    border-radius: 10px; 
}

/* Hero Zoom Animation */
.hero-zoom { 
    animation: slowZoom 30s infinite alternate linear; 
}

@keyframes slowZoom { 
    from { transform: scale(1); } 
    to { transform: scale(1.15); } 
}

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Button Hover Effects */
.btn-primary {
    background-color: var(--altaf-brown);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--altaf-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
    border: 2px solid var(--altaf-brown);
    color: var(--altaf-brown);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--altaf-brown);
    color: white;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Image Hover Zoom */
.image-zoom {
    overflow: hidden;
}

.image-zoom img {
    transition: transform 1.5s ease;
}

.image-zoom:hover img {
    transform: scale(1.05);
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--altaf-brown);
    box-shadow: 0 0 0 3px rgba(107, 68, 35, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--altaf-dark);
    margin-bottom: 0.5rem;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid var(--altaf-brown);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Video Embed Responsive */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Section Spacing */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

/* Text Utilities */
.text-balance {
    text-wrap: balance;
}

/* Coming Soon Styles */
.coming-soon-gradient {
    background: linear-gradient(135deg, var(--altaf-light) 0%, var(--altaf-cream) 100%);
}

/* Mobile Menu Transition */
#mobileMenu {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

#mobileMenu:not(.hidden) {
    max-height: 500px;
    opacity: 1;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}