/* ========================================
   Bodrum Advisory & Concierge — Styles
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
    background-color: #1a2a3a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn--primary {
    background-color: #c9a96e;
    color: #1a2a3a;
}

.btn--primary:hover {
    background-color: #d4b67d;
    transform: translateY(-2px);
}

.btn--outline {
    background-color: transparent;
    color: #c9a96e;
    border: 1px solid #c9a96e;
}

.btn--outline:hover {
    background-color: #c9a96e;
    color: #1a2a3a;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 42, 58, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
    transition: background 0.3s ease;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo__main {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.logo__sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 300;
    color: #c9a96e;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

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

/* Language Switcher */
.lang-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 3px;
    gap: 3px;
}

.lang-btn {
    padding: 6px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.lang-btn:hover {
    color: #ffffff;
}

.lang-btn.active {
    color: #1a2a3a;
    background: #c9a96e;
}

/* Hero */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 24px 80px;
    background: linear-gradient(135deg, #1a2a3a 0%, #243447 50%, #1a2a3a 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s ease both;
}

.hero__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.3s both;
}

/* How We Work */
.how-we-work {
    padding: 100px 0;
    background: #1a2a3a;
}

.cards-grid {
    display: grid;
    gap: 24px;
}

.cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.cards-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 110, 0.12);
    border-radius: 8px;
    padding: 36px 28px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #c9a96e;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 169, 110, 0.25);
    transform: translateY(-6px);
}

.card:hover::before {
    transform: scaleX(1);
}

.card__number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #c9a96e;
    opacity: 0.35;
    line-height: 1;
    margin-bottom: 20px;
}

.card__title {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.35;
}

.card__text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Services */
.services {
    padding: 100px 0;
    background: linear-gradient(180deg, #1a2a3a 0%, #1e3042 100%);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion__item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 110, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion__item:hover {
    border-color: rgba(201, 169, 110, 0.2);
}

.accordion__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #ffffff;
}

.accordion__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.accordion__title {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
}

.accordion__price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #c9a96e;
}

.accordion__icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 16px;
}

.accordion__icon::before,
.accordion__icon::after {
    content: '';
    position: absolute;
    background: #c9a96e;
    transition: transform 0.3s ease;
}

.accordion__icon::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

.accordion__icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

.accordion__item.is-open .accordion__icon::after {
    transform: scaleY(0);
}

.accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion__item.is-open .accordion__body {
    max-height: 400px;
}

.accordion__content {
    padding: 0 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion__text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
}

.accordion__result {
    font-size: 0.9375rem;
    color: #c9a96e;
    font-weight: 500;
    line-height: 1.6;
    padding-top: 12px;
    border-top: 1px solid rgba(201, 169, 110, 0.15);
}

.accordion__btn {
    margin-top: 12px;
    align-self: flex-start;
    padding: 10px 22px;
    font-size: 0.875rem;
}

/* Concierge */
.concierge {
    padding: 100px 0;
    background: #1a2a3a;
}

.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 110, 0.1);
    border-radius: 8px;
    transition: all 0.35s ease;
}

.icon-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 169, 110, 0.25);
    transform: translateY(-6px);
}

.icon-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.08);
    color: #c9a96e;
    margin-bottom: 20px;
    transition: all 0.35s ease;
}

.icon-card:hover .icon-card__icon {
    background: rgba(201, 169, 110, 0.18);
    transform: scale(1.05);
}

.icon-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
}

/* Contacts */
.contacts {
    padding: 100px 0;
    background: linear-gradient(180deg, #1e3042 0%, #1a2a3a 100%);
}

.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.contacts__main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(201, 169, 110, 0.35);
    transform: translateY(-3px);
}

.contact-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #c9a96e;
}

.contact-btn__text {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
}

.contact-btn__sub {
    margin-left: auto;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
}

.contacts__extra {
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 110, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.contacts__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Footer */
.footer {
    padding: 40px 0;
    background: #15202b;
    border-top: 1px solid rgba(201, 169, 110, 0.08);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__copy {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer__slogan {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(201, 169, 110, 0.6);
    font-style: italic;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for cards */
.cards-grid .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.cards-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.cards-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.cards-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }

.accordion .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.accordion .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.accordion .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

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

/* Responsive */
@media (max-width: 992px) {
    .cards-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacts__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .accordion__item.is-open .accordion__body {
        max-height: none !important;
        height: auto;
        overflow: visible;
    }

    .accordion__item.is-open {
        overflow: visible;
    }

    .accordion__content {
        padding: 16px;
    }
}

@media (max-width: 640px) {
    .header__inner {
        height: 64px;
    }

    .logo__main {
        font-size: 1rem;
    }

    .logo__sub {
        font-size: 0.6rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .how-we-work,
    .services,
    .concierge,
    .contacts {
        padding: 70px 0;
    }

    .cards-grid--3,
    .cards-grid--4 {
        grid-template-columns: 1fr;
    }

    .card,
    .icon-card {
        padding: 28px 22px;
    }

    .accordion__header {
        padding: 20px 22px;
    }

    .accordion__title {
        font-size: 1rem;
    }

    .accordion__price {
        font-size: 1.1rem;
    }

    .accordion__content {
        padding: 0 22px 22px;
    }

    .accordion__result {
        font-size: 0.875rem;
    }

    .contact-btn {
        padding: 16px 20px;
    }

    .contact-btn__sub {
        font-size: 0.8125rem;
    }

    .contacts__extra {
        padding: 22px 24px;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        margin-bottom: 36px;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
