/* Osakainn Main Stylesheet */

:root {
    --primary-dark: #2c2416;
    --primary-wood: #8b7355;
    --accent-gold: #d4af37;
    --cream: #f5f1e8;
    --warm-white: #fdfbf7;
    --charcoal: #3d3d3d;
    --soft-gray: #e8e4dc;
}

@media (min-width: 1720px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1800px;
    }

    .modal-xl {
        --bs-modal-width: 1760px;
    }
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* Navbar */
.navbar {
    padding: 0 3rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--soft-gray);
    transition: all 0.3s ease;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--primary-wood);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 70%;
}

.nav-link:hover {
    color: var(--primary-wood);
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--soft-gray);
    color: var(--charcoal);
    padding: 0.4rem 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lang-btn:hover, .lang-btn.active {
    background: var(--primary-dark);
    color: var(--warm-white);
    border-color: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    margin-top: 90px;
    position: relative;
    height: 45vh;
    background: linear-gradient(rgba(44, 36, 22, 0.3), rgba(44, 36, 22, 0.4)), #3d3d3d;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 36, 22, 0.7) 0%, rgba(139, 115, 85, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 1400px;
    padding: 0 3rem;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    letter-spacing: 0.08em;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-btn {
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 1rem 3rem;
    border: none;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    background: var(--primary-dark);
    color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Section Styling */
.section {
    padding: 6rem 3rem;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 4rem;
    margin-top: 2rem;
    letter-spacing: 0.05em;
}

/* Features Section */
.features-section {
    background: var(--cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    transition: all 0.4s ease;
    background: white;
    border-radius: 0;
    border: 1px solid var(--soft-gray);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-wood);
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-text {
    color: var(--charcoal);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Apartments Section */
.apartments-section {
    background: var(--warm-white);
}

.apartments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.apartment-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid var(--soft-gray);
}

.apartment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.apartment-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.apartment-card:hover .apartment-img {
    transform: scale(1.05);
}

.apartment-img-wrapper {
    overflow: hidden;
    position: relative;
}

.apartment-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.apartment-card:hover .apartment-img-wrapper::after {
    opacity: 1;
}

.apartment-body {
    padding: 2rem;
}

.apartment-type {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.apartment-desc {
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.apartment-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-wood);
    font-size: 0.9rem;
}

.view-details-btn {
    background: transparent;
    color: var(--primary-wood);
    border: 2px solid var(--primary-wood);
    padding: 0.8rem 2rem;
    width: 100%;
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.view-details-btn:hover {
    background: var(--primary-wood);
    color: white;
}

/* Long Stay Section */
.longstay-section {
    background: var(--primary-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.longstay-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.longstay-content {
    position: relative;
    z-index: 2;
}

.longstay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.longstay-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.longstay-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 0;
    border-left: 3px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.benefit-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.benefit-desc {
    opacity: 0.9;
    line-height: 1.7;
}

.contact-longstay-btn {
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 1rem 3rem;
    border: none;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
    text-decoration: none;
    display: inline-block;
}

.contact-longstay-btn:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Location Section */
.location-section {
    background: var(--cream);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.location-info {
    background: white;
    padding: 3rem;
    border: 1px solid var(--soft-gray);
}

.location-info h4 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.location-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.location-item i {
    color: var(--primary-wood);
    margin-top: 0.2rem;
    font-size: 1.2rem;
}

/* Map Container */
.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Section */
.contact-section {
    background: var(--warm-white);
}

.contact-form {
    background: white;
    padding: 3rem;
    border: 1px solid var(--soft-gray);
    max-width: 800px;
    margin: 3rem auto 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-wood);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 4rem 3rem 2rem;
}

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

.footer-brand {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.footer-text {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Icon styles */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

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

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

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

.min-width-7 {
    min-width: 350px;
}

.min-width-6 {
    min-width: 300px;
}

.min-width-5 {
    min-width: 250px;
}

.min-width-4 {
    min-width: 200px;
}

.min-width-3 {
    min-width: 150px;
}

.min-width-3-s {
    min-width: 125px;
}

.min-width-2 {
    min-width: 100px;
}

.min-width-1 {
    min-width: 50px;
}

.height-1-s {
    height: 25px;
}

.height-1 {
    height: 50px;
}

.height-2-s {
    height: 75px;
}

.height-2 {
    height: 100px;
}

.height-3-2 {
    height: 125px;
}

.height-3 {
    height: 150px;
}

.width-1-s {
    width: 25px;
}

.width-1 {
    width: 50px;
}

.width-2-s {
    width: 75px;
}

.width-2 {
    width: 100px;
}

.width-3-s {
    width: 125px;
}

.width-3 {
    width: 150px;
}

.width-4-s {
    width: 175px;
}

.width-4 {
    width: 200px;
}

.width-5 {
    width: 250px;
}

.width-6 {
    width: 300px;
}

.w-33 {
    width: 33.3% !important;
}

.w-66 {
    width: 66.7% !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 0.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        gap: 1rem;
    }

    .navbar-menu.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        font-size: 1.3rem;
    }

    .nav-link::after {
        transform: translateX(-70%);
    }

    .mobile-menu-toggle {
        display: block;
        height: 3rem;
        width: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 1rem;
    }

    .apartments-grid,
    .features-grid,
    .longstay-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .map-container {
        width: 100%;
        min-height: 300px;
    }

    .map-container iframe {
        min-height: 300px;
    }

    .location-info h4 {
        font-size: 1.25rem;
    }

    .location-item {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

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

    .footer {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-btn,
    .submit-btn,
    .contact-longstay-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
