/* GLOBAL STYLES
-------------------------------------------------- */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #d4af37;
    --light-color: #f5f5f5;
    --dark-color: #333;
    --font-secondary: 'Raleway', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

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

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



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

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

ul {
    list-style: none;
}

/* SECTION TITLES
-------------------------------------------------- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-main);
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

.section-title p {
    color: black;
    max-width: 700px;
    margin: 15px auto 0;
    font-size: clamp(1rem, 2vw, 1.125rem);
}

/* BUTTONS
-------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-align: center;
}

.btn:hover {
    background-color: #e5ac2d;
    color: var(--dark-color);
}

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

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

.btn-secondary {
    background-color: #e5ac2d;
    color: var(--dark-color);
}

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

/* HEADER
-------------------------------------------------- */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: var(--font-main);
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    z-index: 100;
}

.logo span {
    color: #e5ac2d;
}

nav ul {
    display: flex;
    align-items: center;
    gap: clamp(15px, 3vw, 30px);
}

nav ul li a {
    color: var(--primary-color);
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1rem);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e5ac2d;
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: #e5ac2d;
}

.contact-button {
    background-color: #e5ac2d;
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: 600;
}

.contact-button:hover {
    background-color: #d48537;
    color: #ffffff !important;
}

.contact-button::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 100;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* HERO SECTION
-------------------------------------------------- */
.hero {
    min-height: 650px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('onrveriler/hero/arka.jpg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    margin-top: 0;
    padding: 120px 0 80px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero h1 {
    font-family: var(--font-main);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    max-width: 600px;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.hero-button {
   background-color: #e5ac2d;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    min-width: 150px;
    text-align: center;
}

.hero-button.outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.hero-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.hero-button.outline:hover {
    background-color: white;
    color: var(--dark-color);
}

/* Contact Form in Hero Section */
.contact-form-container {
    flex: 1;
    max-width: 450px;
}

.contact-form {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    color: var(--dark-color);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
}

.contact-form h3 {
    color: var(--primary-color);
    font-family: var(--font-main);
    font-size: 1.75rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #e5ac2d;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #e5ac2d;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.form-submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    font-size: 1rem;
    margin-top: 5px;
}

.form-submit-btn:hover {
    background-color: #e5ac2d;
    color: var(--dark-color);
}

/* FEATURED PROPERTIES
-------------------------------------------------- */
.featured {
    background-color: white;
    padding: 80px 0;
}

.properties {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

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

.property-image {
    height: 250px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    position: relative;
}

.property-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #e5ac2d;
    color: var(--dark-color);
    padding: 8px 15px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    z-index: 1;
}

.property-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    font-weight: 600;
    font-size: 18px;
    border-radius: 4px;
    z-index: 1;
}

.property-details {
    padding: 20px;
}

.property-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.property-location {
    color: #777;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 15px;
}

.property-location i {
    margin-right: 8px;
    color: #e5ac2d;
}

.property-features {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.feature {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.feature i {
    color: #e5ac2d;
    margin-right: 5px;
}

.view-all {
    text-align: center;
    margin-top: 50px;
}

.view-all-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.view-all-button:hover {
    background-color: #e5ac2d;
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* SERVICES SECTION
-------------------------------------------------- */
.services {
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 30px;
    transition: var(--transition);
}



.service-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: #666;
    font-size: 15px;
}

/* ABOUT SECTION
-------------------------------------------------- */
.about {
    background-color: white;
}

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

.about-image {
    flex: 1;
    height: 500px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-family: var(--font-main);
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #e5ac2d;
}

.about-content p {
    margin-bottom: 20px;
    color: #555;
    font-size: 16px;
}

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

.stat {
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #e5ac2d;
    position: relative;
}

.stat-number::after {
    content: '+';
    font-size: 50%;
    position: absolute;
    top: 5px;
}

.stat-text {
    font-size: 16px;
    color: #555;
    font-weight: 500;
}

/* TESTIMONIALS SECTION
-------------------------------------------------- */
.testimonials {
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
    margin-top: 40px;
    position: relative;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    min-width: 100%;
    transition: transform 0.5s ease;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: rgba(0, 0, 0, 0.1);
    font-family: serif;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.author-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-details p {
    font-size: 14px;
    color: #777;
}

.slider-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    background-color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.prev-btn:hover, .next-btn:hover {
    background-color: #e5ac2d;
    color: var(--dark-color);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: #e5ac2d;
    transform: scale(1.2);
}

/* CALL TO ACTION
-------------------------------------------------- */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('onrveriler/hero/arka.jpg.png') center/cover no-repeat;
    text-align: center;
    color: white;
    padding: 100px 0;
}

.cta h2 {
    font-family: var(--font-main);
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: clamp(1rem, 2vw, 1.125rem);
    opacity: 0.9;
}

.cta-button {
    background-color: #e5ac2d;
    color: var(--dark-color);
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.cta-button:hover {
    background-color: #d48537;
    transform: translateY(-5px);
}

/* FOOTER
-------------------------------------------------- */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 70px 0 0;
}

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

.footer-logo {
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-logo span {
    color: #e5ac2d;
}

.footer-about p {
    margin-bottom: 20px;
    opacity: 0.85;
    line-height: 1.7;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: #ffbf00;
    color: var(--dark-color);
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3, .footer-newsletter h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: white;
}

.footer-links h3::after, .footer-contact h3::after, .footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #ffbf00;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-links ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: #e5ac2d;
    padding-left: 20px;
}

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

.contact-info i {
    margin-right: 15px;
    color: #ffbf00;
    font-size: 18px;
    margin-top: 3px;
}

.contact-info div {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    border-radius: 4px 0 0 4px;
    font-family: var(--font-secondary);
}

.newsletter-form button {
    background-color: #e5ac2d;
    color: var(--dark-color);
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: white;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* ANIMATIONS
-------------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

/* RESPONSIVE STYLES
-------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .hero-text p {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-form-container {
        max-width: 100%;
        width: 100%;
    }
    
    .about-wrapper {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 20px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    nav ul li {
        width: 100%;
        margin: 0;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    .contact-button {
        margin: 15px 0 0;
        display: inline-block;
        width: 100%;
        text-align: center;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-button {
        width: 100%;
        max-width: 250px;
    }
    
    .properties {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 0 50px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links, .footer-contact, .footer-newsletter {
        margin-top: 30px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .property-features {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .slider-navigation {
        margin-top: 20px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .prev-btn, .next-btn {
        width: 35px;
        height: 35px;
    }
}

/* Form validation styling */
.invalid {
    border-color: #ff3333 !important;
}

.form-success {
    background-color: #4caf50;
    color: white;
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
    text-align: center;
}

/* Additional animation for form fields */
.contact-form input,
.contact-form select,
.contact-form textarea {
    transform: translateY(0);
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    transform: translateY(-2px);
}

/* Enhance mobile experience */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .contact-form {
        margin-top: 20px;
    }
    
    .property-card {
        margin: 0 10px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 25px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .property-image {
        height: 200px;
    }
}

/* Screen reader only class for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print styles */
@media print {
    header, footer, .cta, .hero-buttons, .view-all, .slider-navigation {
        display: none;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    .property-card, .service-card, .testimonial-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
}
.hero-button {
    background-color: #e5ac2d;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    min-width: 150px;
    text-align: center;
}

.hero-button.outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.hero-button:hover {
    background-color: #d48537;
    color: white;
    transform: translateY(-3px);
}

.hero-button.outline:hover {
    background-color: white;
    color: var(--dark-color);
}

/* Contact Form in Hero Section */
.contact-form-container {
    flex: 1;
    max-width: 450px;
}

.contact-form {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    color: var(--dark-color);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
}

.contact-form h3 {
    color: var(--primary-color);
    font-family: var(--font-main);
    font-size: 1.75rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #e5ac2d;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #e5ac2d;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.form-submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    font-size: 1rem;
    margin-top: 5px;
}

.form-submit-btn:hover {
    background-color: #e5ac2d;
    color: var(--dark-color);
}

/* FEATURED PROPERTIES
-------------------------------------------------- */
.featured {
    background-color: white;
    padding: 80px 0;
}

.properties {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

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

.property-image {
    height: 250px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    position: relative;
}

.property-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #e5ac2d;
    color: var(--dark-color);
    padding: 8px 15px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    z-index: 1;
}

.property-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    font-weight: 600;
    font-size: 18px;
    border-radius: 4px;
    z-index: 1;
}

.property-details {
    padding: 20px;
}

.property-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.property-location {
    color: #777;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 15px;
}

.property-location i {
    margin-right: 8px;
    color: #e5ac2d;
}

.property-features {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.feature {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.feature i {
    color: #e5ac2d;
    margin-right: 5px;
}

.view-all {
    text-align: center;
    margin-top: 50px;
}

.view-all-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.view-all-button:hover {
    background-color: #e5ac2d;
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* SERVICES SECTION
-------------------------------------------------- */
.services {
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 30px;
    transition: var(--transition);
}


.service-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: #666;
    font-size: 15px;
}

/* ABOUT SECTION
-------------------------------------------------- */
.about {
    background-color: white;
}

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

.about-image {
    flex: 1;
    height: 500px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-family: var(--font-main);
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #e5ac2d;
}

.about-content p {
    margin-bottom: 20px;
    color: #555;
    font-size: 16px;
}

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

.stat {
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #e5ac2d;
    position: relative;
}

.stat-number::after {
    content: '+';
    font-size: 50%;
    position: absolute;
    top: 5px;
}

.stat-text {
    font-size: 16px;
    color: #555;
    font-weight: 500;
}

/* TESTIMONIALS SECTION
-------------------------------------------------- */
.testimonials {
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
    margin-top: 40px;
    position: relative;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    min-width: 100%;
    transition: transform 0.5s ease;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: rgba(0, 0, 0, 0.1);
    font-family: serif;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.author-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-details p {
    font-size: 14px;
    color: #777;
}

.slider-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    background-color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.prev-btn:hover, .next-btn:hover {
    background-color: #e5ac2d;
    color: var(--dark-color);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: #e5ac2d;
    transform: scale(1.2);
}

/* CALL TO ACTION
-------------------------------------------------- */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('onrveriler/hero/arka.jpg.png') center/cover no-repeat;
    text-align: center;
    color: white;
    padding: 100px 0;
}

.cta h2 {
    font-family: var(--font-main);
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: clamp(1rem, 2vw, 1.125rem);
    opacity: 0.9;
}

.cta-button {
    background-color: #e5ac2d;
    color: white;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.cta-button:hover {
 background-color: #d48537;
     transform: translateY(-5px);
}

/* FOOTER
-------------------------------------------------- */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 70px 0 0;
}

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

.footer-logo {
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-logo span {
    color: #e5ac2d;
}

.footer-about p {
    margin-bottom: 20px;
    opacity: 0.85;
    line-height: 1.7;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: #e5ac2d;
    color: var(--dark-color);
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3, .footer-newsletter h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: white;
}

.footer-links h3::after, .footer-contact h3::after, .footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #ffbf00;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-links ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: #e5ac2d;
    padding-left: 20px;
}

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

.contact-info i {
    margin-right: 15px;
    color: #ffbf00;
    font-size: 18px;
    margin-top: 3px;
}

.contact-info div {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    border-radius: 4px 0 0 4px;
    font-family: var(--font-secondary);
}

.newsletter-form button {
    background-color: #e5ac2d;
    color: var(--dark-color);
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: white;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* ANIMATIONS
-------------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

/* RESPONSIVE STYLES
-------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .hero-text p {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-form-container {
        max-width: 100%;
        width: 100%;
    }
    
    .about-wrapper {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 20px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    nav ul li {
        width: 100%;
        margin: 0;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    .contact-button {
        margin: 15px 0 0;
        display: inline-block;
        width: 100%;
        text-align: center;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-button {
        width: 100%;
        max-width: 250px;
    }
    
    .properties {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 0 50px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links, .footer-contact, .footer-newsletter {
        margin-top: 30px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .property-features {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .slider-navigation {
        margin-top: 20px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .prev-btn, .next-btn {
        width: 35px;
        height: 35px;
    }
}

/* Form validation styling */
.invalid {
    border-color: #ff3333 !important;
}

.form-success {
    background-color: #4caf50;
    color: white;
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
    text-align: center;
}

/* Additional animation for form fields */
.contact-form input,
.contact-form select,
.contact-form textarea {
    transform: translateY(0);
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    transform: translateY(-2px);
}

/* Enhance mobile experience */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .contact-form {
        margin-top: 20px;
    }
    
    .property-card {
        margin: 0 10px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 25px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .property-image {
        height: 200px;
    }
}

/* Screen reader only class for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print styles */
@media print {
    header, footer, .cta, .hero-buttons, .view-all, .slider-navigation {
        display: none;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    .property-card, .service-card, .testimonial-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
}