/* ================================
   Prime Kıbrıs - CSS Styles
   Mediterranean Island Theme
   ================================ */

/* ========== CSS Variables ========== */
:root {
    /* Premium Golden & Black Theme */
    --primary-color: #d5b36b;
    --primary-dark: #b8944d;
    --primary-light: #e5c88b;
    --secondary-color: #d5b36b;
    --secondary-dark: #b8944d;
    --accent-color: #d5b36b;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #fafafa;
    --light-gray: #f5f5f5;
    --gray: #666666;
    --dark-gray: #333333;
    --dark: #151616;
    
    /* Theme Colors */
    --golden: #d5b36b;
    --black: #151616;
    --sand: #F4E8C1;
    --palm-green: #d5b36b;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ========== Global Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--black);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light {
    background: var(--white);
    color: var(--black);
}

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

.btn-block {
    width: 100%;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    color: var(--secondary-dark);
}

/* ========== Section Styles ========== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--black);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Header & Navigation ========== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 20px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

#header.scrolled .logo h1 {
    color: var(--primary-color);
}

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

.nav-menu {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--white);
    padding: 8px 12px;
    border-radius: 20px;
    transition: var(--transition);
    white-space: nowrap;
}

#header.scrolled .nav-link {
    color: var(--dark);
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding-left: 15px;
}

.lang-link {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--white);
    padding: 6px 10px;
    border-radius: 18px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#header.scrolled .lang-link {
    color: var(--dark);
}

.lang-link:hover {
    background: var(--primary-light);
    color: var(--dark);
}

.lang-link.active {
    background: var(--primary-color);
    color: var(--white);
}

.lang-separator {
    color: var(--white);
    font-weight: 300;
    opacity: 0.5;
}

#header.scrolled .lang-separator {
    color: var(--dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: 20px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

#header.scrolled .hamburger span {
    background: var(--primary-color);
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(21, 22, 22, 0.7), rgba(213, 179, 107, 0.3)),
                url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator a {
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ========== About Section ========== */
.about-section {
    background: var(--off-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 500px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-gray);
}

.feature-item i {
    color: var(--palm-green);
    font-size: 1.2rem;
}

/* Founder Section */
.founder-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid var(--light-gray);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle h3 {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--dark-gray);
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto;
}

.section-subtitle strong {
    color: var(--primary-color);
    font-weight: 600;
}

.founder-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.founder-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.founder-image {
    position: relative;
    margin: 0 auto 20px;
    max-width: 200px;
}

.founder-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border: 5px solid var(--primary-color);
}

.founder-info h4 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.founder-title {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.founder-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dark-gray);
    text-align: center;
}

/* Responsive for Founder Section */
@media (max-width: 1024px) {
    .founder-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .founder-section {
        margin-top: 60px;
        padding-top: 40px;
    }
    
    .section-subtitle h3 {
        font-size: 1.2rem;
    }
    
    .founder-card {
        padding: 25px;
    }
    
    .founder-image {
        max-width: 180px;
    }
    
    .founder-image img {
        width: 180px;
        height: 180px;
    }
    
    .founder-info h4 {
        font-size: 1.3rem;
    }
    
    .founder-bio {
        font-size: 0.9rem;
    }
}

/* ========== Services Section ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.8;
}

/* ========== Why Cyprus Section ========== */
.why-cyprus-section {
    background: linear-gradient(135deg, var(--dark), var(--dark-gray));
    color: var(--white);
    padding: 70px 0;
}

.why-cyprus-section .section-tag {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--black);
}

.why-cyprus-section .section-title,
.why-cyprus-section .section-desc {
    color: var(--white);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.reason-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 18px;
    border-radius: 12px;
    text-align: left;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.reason-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.reason-number {
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--font-display);
}

.reason-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.reason-card p {
    opacity: 0.9;
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ========== Properties Section ========== */
.properties-section {
    background: var(--off-white);
    padding: 80px 0;
}

.properties-preview {
    margin: 50px auto;
    max-width: 1400px;
    padding: 0 40px;
}

.properties-preview img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.properties-preview img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.properties-note {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.mt-50 {
    margin-top: 50px;
}

/* Responsive for Properties Preview */
@media (max-width: 768px) {
    .properties-section {
        padding: 60px 0;
    }
    
    .properties-preview {
        padding: 0 20px;
    }
    
    .properties-note {
        font-size: 1rem;
    }
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

/* Property Slider */
.property-slider-container {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
    padding: 0 60px;
}

.property-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.property-slide {
    min-width: calc(25% - 15px);
    flex-shrink: 0;
}

.property-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.property-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.property-badge.best-deal {
    background: var(--secondary-dark);
}

.property-content {
    padding: 25px;
}

.property-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.property-location {
    color: var(--gray);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-desc {
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.property-features {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 20px;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.property-features i {
    color: var(--primary-color);
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.property-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.property-monthly {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    background: rgba(244, 162, 97, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    border: 2px solid var(--secondary-color);
    display: inline-block;
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--primary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: -25px;
}

.slider-next {
    right: -25px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.slider-dot:hover {
    background: var(--primary-light);
}

.mt-50 {
    margin-top: 50px;
}

.text-center {
    text-align: center;
}

/* ========== Cyprus Cities Section ========== */
.cities-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.city-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

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

.city-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.city-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.city-card:hover .city-image img {
    transform: scale(1.1);
}

.city-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 30px 20px;
    color: var(--white);
    transition: all 0.4s ease;
}

.city-overlay h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.city-overlay p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.city-card:hover .city-overlay {
    background: linear-gradient(to top, rgba(213, 179, 107, 0.9) 0%, rgba(213, 179, 107, 0.6) 50%, transparent 100%);
}

/* Responsive Design for Cities Section */
@media (max-width: 992px) {
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .cities-section {
        padding: 60px 0;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .city-image {
        height: 300px;
    }
    
    .city-overlay h3 {
        font-size: 1.5rem;
    }
}

/* ========== Instagram Section ========== */
.instagram-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Instagram Slider */
.instagram-slider-container {
    position: relative;
    margin: 50px auto 0;
    max-width: 100%;
    overflow: hidden;
    padding: 0 60px;
}

.instagram-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.instagram-slide {
    width: calc(25% - 15px);
    min-width: calc(25% - 15px);
    max-width: calc(25% - 15px);
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
}

.instagram-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    width: 100%;
    height: 550px;
    display: flex;
    flex-direction: column;
}

.instagram-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #E1306C;
}

.instagram-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.instagram-profile {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.instagram-profile img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.instagram-card:hover .instagram-profile img {
    transform: scale(1.1);
}

.instagram-info {
    padding: 25px 20px;
    flex-grow: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    min-height: 180px;
}

.instagram-info h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.instagram-info p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--dark-gray);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.instagram-button {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    padding: 15px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.instagram-button i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.instagram-card:hover .instagram-button {
    background: linear-gradient(135deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%);
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .instagram-slide {
        width: calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
    }
}

@media (max-width: 1200px) {
    .instagram-slide {
        width: calc(50% - 10px);
        min-width: calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    
    .instagram-slider-container {
        padding: 0 50px;
    }
    
    /* Show 3 cards on medium-large screens */
    .property-slide {
        min-width: calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .instagram-section {
        padding: 60px 0;
    }
    
    .instagram-slide {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
    
    .instagram-slider-container {
        padding: 0 15px;
    }
    
    .instagram-slider {
        gap: 0;
    }
    
    .instagram-profile {
        height: 180px;
        padding: 25px;
    }
    
    .instagram-profile img {
        width: 120px;
        height: 120px;
    }
    
    .instagram-card {
        height: 500px;
    }
    
    .instagram-info {
        min-height: 150px;
    }
}

/* ========== CTA Section ========== */
.cta-section {
    background: linear-gradient(135deg, rgba(213, 179, 107, 0.95), rgba(184, 148, 77, 0.95)),
                url('https://sspark.genspark.ai/cfimages?u1=NAKaAVGdbHGof0%2BUxMXDPhvwZRaXAb5lo%2BXJ%2F4rUjtF6MSKjiUza3NqY5p4YPIAc05r7%2B%2Fa4VQmPxs45J911fn230B6QrmKkswtPBij3deQlgnrJsutzqTBdKUMJnGstUCM%2FsGP6sr75eKsVSPxxvyxVajIF%2Fx48syusjDxE2p1c57D1yIboNN9yXRJEc7uHiu5MSwmE525TPHcWtg%3D%3D&u2=YLTUIjdO%2Fp14olXv&width=2560');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

/* ========== Contact Section ========== */
.contact-section {
    background: var(--off-white);
    padding: 70px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.info-card.compact {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    text-align: left;
}

.info-card.compact i {
    font-size: 1.8rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.info-content {
    flex: 1;
}

.info-card h3 {
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: 600;
}

.info-card p {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 0.9rem;
}

.info-card p a {
    color: var(--black);
    font-weight: 500;
    transition: var(--transition);
}

.info-card p a:hover {
    color: var(--secondary-dark);
    text-decoration: underline;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

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

/* Contact Map */
.contact-map {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    min-height: 500px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

/* ========== Contact Form ========== */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label,
.form-group select:focus + label,
.form-group select:valid + label {
    top: -10px;
    left: 15px;
    font-size: 0.85rem;
    background: var(--white);
    padding: 0 10px;
    color: var(--primary-color);
}

.form-group textarea + label {
    top: 25px;
}

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

/* ========== Footer ========== */
.footer {
    background: var(--dark);
    color: var(--light-gray);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 300px;
    height: auto;
    display: block;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col h3 span {
    color: var(--accent-color);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    color: var(--light-gray);
    transition: var(--transition);
}

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

.footer-col ul li i {
    color: var(--primary-light);
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--light-gray);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

/* Footer Form Section */
/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(213,179,107,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.contact-form-section .container {
    position: relative;
    z-index: 1;
}

.contact-form-section .section-tag {
    color: var(--gold);
}

.contact-form-section .section-title {
    color: var(--dark);
}

.contact-form-section .section-desc {
    color: var(--text-color);
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(213, 179, 107, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-container .contact-form {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.form-container .form-group input,
.form-container .form-group textarea,
.form-container .form-group select {
    background: var(--white);
    border: 1px solid rgba(213, 179, 107, 0.4);
    color: var(--dark);
}

.form-container .form-group input:focus,
.form-container .form-group textarea:focus,
.form-container .form-group select:focus {
    border-color: var(--gold);
    background: var(--white);
}

.form-container .form-group label {
    color: var(--text-color);
    background: #f9f9f9;
}

.form-container button[type="submit"] {
    width: 100%;
    margin-top: 10px;
    padding: 18px 40px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 60px 0;
    }
    
    .form-container {
        padding: 40px 30px;
    }
}

.footer-form .form-group input:focus,
.footer-form .form-group textarea:focus,
.footer-form .form-group select:focus {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.15);
}

.footer-form .form-group input:focus + label,
.footer-form .form-group input:valid + label,
.footer-form .form-group textarea:focus + label,
.footer-form .form-group textarea:valid + label,
.footer-form .form-group select:focus + label,
.footer-form .form-group select:valid + label {
    color: var(--primary-light);
}

.footer-form .btn {
    margin: 0 auto;
    display: block;
    min-width: 200px;
}

/* ========== Floating Elements ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary-dark);
    transform: translateY(-5px);
}

/* ========== Responsive Design ========== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .about-content { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-map { min-height: 400px; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-form-section { padding: 40px 30px; }
    
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
    
    /* Show 2 cards on tablet */
    .property-slide {
        min-width: calc(50% - 10px);
    }
    
    .property-slider-container {
        padding: 0 50px;
    }
    
    /* Reasons grid on tablet */
    .reasons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--dark) !important;
        font-size: 1.1rem;
        padding: 12px 20px;
    }
    
    .language-switcher {
        position: absolute;
        top: 20px;
        right: 60px;
        padding-left: 0;
        margin-left: 0;
    }
    
    .lang-link {
        color: var(--white);
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    #header.scrolled .lang-link {
        color: var(--dark);
    }
    
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; }
    
    .section-title { font-size: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .services-grid { grid-template-columns: 1fr; }
    .properties-grid, .blog-grid { grid-template-columns: 1fr; }
    .reasons-grid { grid-template-columns: repeat(2, 1fr); }
    .info-cards-grid { grid-template-columns: 1fr; }
    
    .form-row { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .footer-form-section { padding: 30px 20px; }
    .contact-map { min-height: 350px; }
    
    .cta-content h2 { font-size: 2rem; }
    .cta-content p { font-size: 1.1rem; }
    
    /* Show 1 card on mobile */
    .property-slide {
        min-width: 100%;
    }
    
    .property-slider-container {
        padding: 0 15px;
    }
    
    .property-slider {
        gap: 0;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .hero-title { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .reasons-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .property-features { flex-wrap: wrap; }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-prev { left: 5px; }
    .slider-next { right: 5px; }
    
    .property-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .scroll-top {
        width: 45px;
        height: 45px;
        right: 20px;
    }
}

/* ========== Animations ========== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}