/* * PROJECT: ANAND DHAM V3.0 (PREMIUM FLAGSHIP)
 * THEME: MODERN MINIMALIST LUXURY
 * FILE: style.css (Global Stylesheet)
 */

/* --- 1. PREMIUM TYPOGRAPHY IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Outfit:wght@300;400;500;600&display=swap');

:root {
    /* Brand Colors */
    --color-gold: #D4AF37;
    --color-gold-light: #E6C25A;
    --color-gold-dark: #B5952F;
    --color-dark: #0f0f0f;
    --color-cream: #Fdfaf0; /* Slightly warmer cream for luxury feel */
    --color-light-gray: #f8fafc;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    
    /* Fonts – Montserrat for headings, Outfit for body */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Layout */
    --container-width: 1400px;
    --header-height: 90px;
    
    /* Effects & Shadows */
    --ease-fluid: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-float: 0 20px 40px rgba(0,0,0,0.08);
    --glow-gold: 0 10px 25px rgba(212, 175, 55, 0.25);
}

/* --- 2. BASE RESET & PREMIUM TWEAKS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-cream);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Premium Text Selection */
::selection {
    background: var(--color-gold);
    color: #000;
}

/* Custom Scrollbar for Luxury Feel */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease, transform 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* --- 3. TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
    letter-spacing: -0.02em; /* Tighten slightly for modern look */
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
    font-weight: 300;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 0.8rem;
    font-family: var(--font-display);
    color: var(--color-dark);
}

.section-subtitle {
    font-family: var(--font-body);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px; /* Wide tracking for elegance */
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    display: block;
}

/* --- 4. LAYOUT --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 100px 5%;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 5%;
    }
}

/* --- 5. CINEMATIC BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 42px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    transition: all 0.4s var(--ease-fluid);
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    color: #000;
    box-shadow: var(--shadow-sm);
}

.btn-gold:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-gold);
    color: #000;
}

.btn-dark {
    background: var(--color-dark);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
    background: var(--color-gold);
    color: #000;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 2px solid var(--color-dark);
    color: var(--color-dark);
    background: transparent;
    padding: 14px 40px; /* Adjust for border width */
}

.btn-outline:hover {
    background: var(--color-dark);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* --- 6. GRID HELPERS --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

@media (max-width: 992px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 576px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 30px; }
}

/* --- 7. REFINED CARD STYLES --- */
.card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 16px;
    transition: all 0.5s var(--ease-fluid);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-float);
    border-color: rgba(212, 175, 55, 0.3);
}

.card-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-fluid);
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 30px;
    text-align: center;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.card-text {
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- 8. ANIMATIONS --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    animation: fadeUp 1s var(--ease-fluid);
}

/* --- 9. UTILITY CLASSES --- */
.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.bg-white { background: #fff; }
.bg-dark { background: var(--color-dark); color: #fff; }
.bg-cream { background: var(--color-cream); }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

/* --- 10. LUXURY FORM ELEMENTS --- */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #4a5568;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: #f8fafc;
    color: #1e293b;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #94a3b8;
    font-weight: 300;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

/* --- 11. RESPONSIVE IMAGES --- */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 12. SCROLL REVEAL (for main.js) --- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 1s var(--ease-fluid);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}