/* ══════════════════════════════════════
   Apartments Silmare — style.css
   silmare.net
   ══════════════════════════════════════ */
/* ── VARIABLES ── */
:root {
    --sand: #f5efe6;
    --sand-dark: #e8ddd0;
    --sea: #2a6b8a;
    --sea-light: #4a8fad;
    --sea-dark: #1a4d65;
    --terra: #c17b3e;
    --terra-light: #d4956a;
    --white: #fdfbf8;
    --text: #1e2a30;
    --text-light: #5a6b72;
    --olive: #7a8c5a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', sans-serif;
    background: var(--sand);
    color: var(--text);
    font-weight: 300;
}

/* ── NAVIGATION ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fdfbf8;
    border-bottom: 2px solid var(--sand-dark);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    height: 64px;
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--sea-dark);
    text-decoration: none;
}

.nav-logo span {
    color: var(--terra);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s;
    font-weight: 400;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--sea);
}

.lang-switcher {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    border-left: 1px solid var(--sand-dark);
    padding-left: 1.5rem;
    margin-left: 1rem;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Jost',sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 3px 6px;
    border-radius: 3px;
    transition: all 0.2s;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--sea);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text);
    display: block;
    transition: all 0.3s;
}

/* ── HERO ── */
#home {
    min-height: 100vh;
    background: var(--sea-dark);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 0 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-photo {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--sea-dark);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background: linear-gradient(
    to top,
    rgba(15, 40, 55, 0.92) 0%,
    rgba(15, 40, 55, 0.55) 45%,
    rgba(20, 60, 80, 0.25) 100%
  );
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 4rem;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.85);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: 'Cormorant Garamond',serif;
    font-size: clamp(3rem,7vw,6rem);
    font-weight: 300;
    color: white;
    line-height: 1.05;
    margin-bottom: 1.2rem;
}

.hero-title em {
    font-style: italic;
    color: var(--terra-light);
}

.hero-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    letter-spacing: 0.05em;
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn-primary {
    background: var(--terra);
    color: white;
    padding: 14px 32px;
    border: none;
    cursor: pointer;
    font-family: 'Jost',sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: background 0.25s, transform 0.2s;
}

.btn-primary:hover {
    background: var(--terra-light);
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
    padding: 14px 32px;
    background: transparent;
    cursor: pointer;
    font-family: 'Jost',sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    right: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* ── SECTIONS ── */
section {
    display: block;
    scroll-margin-top: 64px;
}

#home {
    display: flex;
    scroll-margin-top: 0;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 0.8rem;
    display: block;
}

.section-title {
    font-family: 'Cormorant Garamond',serif;
    font-size: clamp(2.2rem,5vw,3.8rem);
    font-weight: 300;
    color: var(--sea-dark);
    line-height: 1.1;
}

.section-subtitle {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--terra), var(--sea-light));
    margin: 1.5rem auto;
}

/* ── ABOUT ── */
#about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h2 {
    font-family: 'Cormorant Garamond',serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--sea-dark);
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.about-text h2 em {
    font-style: italic;
    color: var(--terra);
}

.about-text p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.about-image {
    border-radius: 2px;
    height: 420px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sea) 0%, var(--sea-light) 100%);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image .img-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--sand);
    padding: 1.8rem 1.5rem;
    border-bottom: 3px solid var(--terra);
    text-align: center;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.feature-title {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.1rem;
    color: var(--sea-dark);
    margin-bottom: 0.4rem;
}

.feature-desc {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
}

.house-layout {
    background: var(--sea-dark);
    color: white;
    padding: 3rem;
    margin: 3rem 0;
    border-radius: 2px;
}

.house-layout h3 {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-align: center;
}

.floors-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1rem;
}

.floor-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 1.5rem;
    border-radius: 2px;
    text-align: center;
}

.floor-num {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--terra-light);
    margin-bottom: 0.5rem;
}

.floor-title {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.floor-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* ── APARTMENTS ── */
#apartments {
    background: var(--sand);
}

.apt-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
}

.apt-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.apt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.apt-card.featured {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.apt-img {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sea-dark), var(--sea-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.apt-img img {
    width: 150%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.apt-card.featured .apt-img {
    height: 100%;
    min-height: 300px;
}

.apt-img-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.apt-img .apt-floor-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--terra);
    color: white;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 4px 10px;
}

.apt-body {
    padding: 1.8rem;
}

.apt-name {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--sea-dark);
    margin-bottom: 0.3rem;
}

.apt-capacity {
    font-size: 0.8rem;
    color: var(--terra);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.apt-desc {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.apt-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.3rem;
}

.apt-tag {
    background: var(--sand);
    font-size: 0.75rem;
    padding: 4px 10px;
    color: var(--text-light);
    border: 1px solid var(--sand-dark);
}

.apt-price {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.8rem;
    color: var(--sea-dark);
}

.apt-price small {
    font-family: 'Jost',sans-serif;
    font-size: 0.75rem;
    color: var(--text-light);
}

.apt-card .btn-primary {
    display: block;
    text-align: center;
    margin-top: 1.2rem;
}

/* ── AMENITIES ── */
#amenities {
    background: var(--white);
}

.amenities-blocks {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
}

.amenity-block {
    padding: 2rem;
    border-left: 3px solid var(--terra);
    background: var(--sand);
}

.amenity-block h3 {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.4rem;
    color: var(--sea-dark);
    margin-bottom: 1rem;
}

.amenity-block ul {
    list-style: none;
}

.amenity-block ul li {
    font-size: 0.88rem;
    color: var(--text-light);
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--sand-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.amenity-block ul li::before {
    content: '—';
    color: var(--terra);
    font-size: 0.7rem;
}

.location-highlight {
    background: linear-gradient(135deg, var(--sea-dark), var(--sea));
    color: white;
    padding: 3rem;
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-highlight h3 {
    font-family: 'Cormorant Garamond',serif;
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.location-highlight p {
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    font-size: 0.92rem;
}

.distances {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.distance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.distance-item .place {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
}

.distance-item .dist {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.3rem;
    color: var(--terra-light);
}

/* ── PRICES ── */
#prices {
    background: var(--sand);
}

.price-tables {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
}

.price-table {
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.price-table-header {
    background: var(--sea-dark);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.price-table-header h3 {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 0.3rem;
}

.price-table-header .cap {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.1em;
}

.price-table-body {
    padding: 1.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--sand-dark);
}

.price-row:last-child {
    border-bottom: none;
}

.price-season {
    font-size: 0.82rem;
    color: var(--text-light);
}

.price-season strong {
    color: var(--text);
    display: block;
    font-weight: 400;
}

.price-amount {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.5rem;
    color: var(--sea-dark);
}

.price-amount small {
    font-family: 'Jost',sans-serif;
    font-size: 0.7rem;
    color: var(--text-light);
}

.price-notes {
    background: rgba(193,123,62,0.08);
    border-left: 3px solid var(--terra);
    padding: 1.5rem;
    margin-top: 2rem;
}

.price-notes h4 {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.3rem;
    color: var(--sea-dark);
    margin-bottom: 0.8rem;
}

.price-notes ul {
    list-style: none;
}

.price-notes ul li {
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 0.35rem 0;
    display: flex;
    gap: 0.6rem;
}

.price-notes ul li::before {
    content: '•';
    color: var(--terra);
}

/* ── CONTACT ── */
#contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-family: 'Cormorant Garamond',serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--sea-dark);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--sand-dark);
}

.contact-icon {
    font-size: 1.4rem;
    width: 30px;
    flex-shrink: 0;
}

.contact-item-label {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 0.3rem;
}

.contact-item-value {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.6;
}

.contact-item-value a {
    color: var(--sea);
    text-decoration: none;
}

.contact-item-value a:hover {
    color: var(--terra);
}

.contact-form-area h3 {
    font-family: 'Cormorant Garamond',serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--sea-dark);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--sand-dark);
    background: var(--sand);
    font-family: 'Jost',sans-serif;
    font-size: 0.88rem;
    color: var(--text);
    outline: none;
    transition: border 0.2s;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--sea-light);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-submit {
    background: var(--sea-dark);
    color: white;
    border: none;
    padding: 14px 36px;
    cursor: pointer;
    font-family: 'Jost',sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    width: 100%;
    transition: background 0.25s;
}

.form-submit:hover {
    background: var(--sea);
}

.map-embed {
    margin-top: 2.5rem;
    background: var(--sand-dark);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sand-dark);
    position: relative;
    overflow: hidden;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ── FOOTER ── */
footer {
    background: var(--sea-dark);
    color: rgba(255,255,255,0.7);
    padding: 2.5rem;
    text-align: center;
}

footer .footer-logo {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 0.5rem;
    display: block;
}

footer p {
    font-size: 0.8rem;
    line-height: 1.8;
}

footer a {
    color: var(--terra-light);
    text-decoration: none;
}

/* ── MOBILE ── */
@media (max-width:768px) {
    nav {
        padding: 0 1.5rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fdfbf8 !important;
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        align-items: stretch;
        z-index: 999;
        overflow-y: auto;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        color: var(--text) !important;
        border-bottom: 1px solid var(--sand-dark);
        letter-spacing: 0.1em;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--sea) !important;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links .lang-switcher {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        margin-top: 1.5rem;
        padding-top: 1rem;
        border-top: 1px solid var(--sand-dark);
    }

    .lang-btn {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-scroll {
        display: none;
    }

    .about-grid,
    .location-highlight {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .floors-grid,
    .amenities-blocks,
    .price-tables {
        grid-template-columns: 1fr;
    }

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

    .apt-card.featured {
        grid-column: span 1;
        display: block;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-inner {
        padding: 3rem 1.5rem;
    }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section .section-inner {
    animation: fadeUp 0.5s ease forwards;
}
