:root {
    --primary: #ae864e;
    --secondary: #212121;
    --light: #eaeaea;
    --dark: #212121;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--light);
    background-color: var(--dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container img {
    cursor: pointer;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: #c99c60;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--light);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: rgba(33, 33, 33, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-bottom: 1px solid rgba(174, 134, 78, 0.3);
}

.header-outer-container {

}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img, .logo svg {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav ul li a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

#home.hero {
    background-image: url('./assets/splash.jpg');
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    color: white;
    text-align: left;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.hero-container {
    padding: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-bottom: 80px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

/* About Section */
.section {
    padding: 80px 0;
    position: relative;
}

.about-background {
    position: relative;
    overflow: hidden;
}

.about-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./assets/moswik dron 2.jpg') center/cover no-repeat;
    opacity: 0.1;
    animation: fadeInOut 8s infinite;
    z-index: 0;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.3;
    }
}

.about-background .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    transform: translateX(-50%);
}

.section-title p {
    color: var(--light);
    max-width: 700px;
    margin: 20px auto 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;

    .new-line {
        margin-bottom: 1rem;
    }

    p {
        text-align: justify;
        -webkit-text-align: justify; /* Safari-specific fallback */
    }
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Section */
.features {
    background-color: #1a1a1a;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/api/placeholder/1200/800') center/cover no-repeat;
    opacity: 0.05;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background-color: rgba(33, 33, 33, 0.8);
    border: 1px solid rgba(174, 134, 78, 0.2);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(174, 134, 78, 0.2);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    color: var(--primary);
    /*color: var(--light);*/

    /*background-color: var(--primary);*/
    /*color: var(--light);*/

    font-size: 2rem;
    margin: 0 auto 20px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.feature-content {
    padding: 30px;
    text-align: center;
}

.feature-content h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.feature-content h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
    transform: translateX(-50%);
}

/* Apartments Section */
.apartments-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.apartment-tab {
    padding: 15px 30px;
    background-color: rgba(33, 33, 33, 0.8);
    border: 1px solid rgba(174, 134, 78, 0.3);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.apartment-tab.active {
    background-color: var(--primary);
    color: var(--light);
    border-color: var(--primary);
}

.apartment-tab:first-child {
    border-radius: 0;
}

.apartment-tab:last-child {
    border-radius: 0;
}

.apartment-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.apartment-selection-container {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 40px;
}

.apartment-heading {
    /*width: 564px;*/
}

.apartment-image {
    flex: 1;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(174, 134, 78, 0.3);
}

.apartment-image-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
}

.apartment-image img {
    width: 100%;
    height: auto;
    display: block;
}

.apartment-details {
    flex: 1;
}

.apartment-details h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
}

.apartment-details h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.apartment-details h4 {
    color: var(--primary);
    margin: 25px 0 15px;
    font-size: 1.3rem;
}

.apartment-details ul {
    list-style: none;
    margin-bottom: 30px;
}

.apartment-details ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.apartment-details ul li.list::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.5rem;
}

li.sub-list{
    margin-left:25px;
}

/* Location Section */
.location {
    background-color: #1a1a1a;
    position: relative;
}

.location::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/api/placeholder/1200/800') center/cover no-repeat;
    opacity: 0.05;
}

.location-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.location-map {
    height: 570px;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(174, 134, 78, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-info {
    flex: 1;
}

.location-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
}

.location-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.location-info ul {
    list-style: none;
}

.location-info ul li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.location-info ul li i {
    color: var(--primary);
    margin-right: 15px;
    margin-top: 5px;
    font-size: 1.2rem;
}

.location-info ul li strong {
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

/* Gallery Section */
.gallery-grid {
    /*display: grid;*/
    /*grid-template-columns: repeat(3, 1fr);*/
    /*gap: 20px;*/

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    flex: 0 0 calc(31.333% - 20px);
    margin: 20px;

    border-radius: 0;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(174, 134, 78, 0.3);
    position: relative;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(174, 134, 78, 0.2);
    opacity: 0;
    transition: all 0.4s;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.modal-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--primary);
}

.prev, .next {
    position: absolute;
    top: 50%;
    color: #f1f1f1;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    transform: translateY(-50%);
    background-color: rgba(174, 134, 78, 0.3);
    border: none;
    transition: all 0.3s;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background-color: rgba(174, 134, 78, 0.6);
}

/* Visualizations Section */
.visualizations {
    background-color: #1a1a1a;
    position: relative;
}

.visualizations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/api/placeholder/1200/800') center/cover no-repeat;
    opacity: 0.05;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
    position: relative;
    z-index: 1;
}

.masonry-item {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(174, 134, 78, 0.3);
    position: relative;
    cursor: pointer;
    transition: all 0.4s;
}

.masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(174, 134, 78, 0.2);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    background-color: #1a1a1a;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/api/placeholder/1200/800') center/cover no-repeat;
    opacity: 0.05;
}

.contact-container {
    display: flex;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.golden-keys-logo {
    display: flex;
    align-items: center;
}

.golden-keys-logo img {
    width: 500px;
    height: auto;
    margin-bottom: 20px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-details p i {
    color: var(--primary);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-form {
    flex: 1;
    background-color: rgba(33, 33, 33, 0.8);
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(174, 134, 78, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(174, 134, 78, 0.3);
    border-radius: 0;
    font-size: 1rem;
    background-color: #2a2a2a;
    color: var(--light);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 5px rgba(174, 134, 78, 0.5);
}

/* Footer */
footer {
    background-color: #181818;
    color: var(--light);
    padding: 50px 0 20px;
    border-top: 1px solid rgba(174, 134, 78, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    margin-right: 30px;
}

.footer-column:last-child {
    margin-right: 0;
}

.footer-column h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--primary);
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

.footer-column p {
    margin-bottom: 15px;
    color: rgba(234, 234, 234, 0.7);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(234, 234, 234, 0.7);
    transition: all 0.3s;
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(174, 134, 78, 0.1);
    border: 1px solid rgba(174, 134, 78, 0.3);
    border-radius: 0;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(174, 134, 78, 0.2);
    color: rgba(234, 234, 234, 0.5);
}

.mobile-nav {
    display: none;
}

.map-modal-img{
    width: 100%;
    object-fit: contain;
}
