/* ===========================
   AVINA ISTANBUL - PREMIUM DESIGN
   Color Palette: Rose Gold, Burgundy, Cream
   =========================== */

:root {
    --rose-gold: #B76E79;
    --rose-gold-light: #D4A5A5;
    --burgundy: #6B2737;
    --burgundy-dark: #4A1A27;
    --wine: #8B3A4F;
    --cream: #FFF8F3;
    --cream-dark: #F5EDE4;
    --gold: #C9A887;
    --sage: #A8B5A0;
    --text-primary: #2C1810;
    --text-secondary: #6B5B52;
    --white: #FFFFFF;

    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    --shadow-sm: 0 2px 8px rgba(107, 39, 55, 0.08);
    --shadow-md: 0 4px 20px rgba(107, 39, 55, 0.12);
    --shadow-lg: 0 10px 40px rgba(107, 39, 55, 0.15);
    --shadow-xl: 0 20px 60px rgba(107, 39, 55, 0.2);

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        radial-gradient(circle at 20% 50%, var(--rose-gold-light) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--gold) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, var(--sage) 0%, transparent 50%);
    background-size: 800px 800px, 600px 600px, 500px 500px;
    background-position: 0% 0%, 100% 100%, 50% 0%;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 0%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 80% 50%;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.title-main {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.title-sub {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rose-gold);
    opacity: 0.95;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--wine) 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-button svg {
    width: 24px;
    height: 24px;
}

/* ===========================
   SERVICES SECTION
   =========================== */

.services {
    padding: 120px 0;
    background: var(--white);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--burgundy);
}

.section-title.light {
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--cream-dark);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--rose-gold-light);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card.featured {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--wine) 100%);
    color: var(--white);
    border: none;
}

.service-card.featured::before {
    background: linear-gradient(135deg, var(--wine) 0%, var(--burgundy-dark) 100%);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--rose-gold-light) 0%, var(--rose-gold) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: inherit;
}

.service-card p {
    color: inherit;
    opacity: 0.85;
    line-height: 1.7;
}

/* ===========================
   WHY US SECTION
   =========================== */

.why-us {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--wine) 100%);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature {
    color: var(--white);
    text-align: center;
    padding: 30px;
}

.feature-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    opacity: 0.3;
    margin-bottom: 20px;
    line-height: 1;
}

.feature h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature p {
    opacity: 0.9;
    line-height: 1.7;
}

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
    padding: 120px 0;
    background: var(--cream);
    position: relative;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    color: var(--burgundy);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--wine) 100%);
    color: var(--white);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, var(--wine) 0%, var(--burgundy-dark) 100%);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--burgundy);
    border: 2px solid var(--burgundy);
}

.cta-button.secondary:hover {
    background: var(--burgundy);
    color: var(--white);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--burgundy-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--rose-gold-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* ===========================
   FLOATING WHATSAPP BUTTON
   =========================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 40px;
    height: 40px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding: 60px 0;
    }

    .services, .why-us, .cta-section {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }

    .whatsapp-float svg {
        width: 32px;
        height: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .feature {
        padding: 20px;
    }
}

/* ===========================
   ACCESSIBILITY & PERFORMANCE
   =========================== */

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

@media print {
    .whatsapp-float {
        display: none;
    }

    .hero {
        min-height: auto;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--rose-gold);
    outline-offset: 4px;
}

/* Selection */
::selection {
    background: var(--rose-gold-light);
    color: var(--burgundy-dark);
}

::-moz-selection {
    background: var(--rose-gold-light);
    color: var(--burgundy-dark);
}