/*
Theme Name: Keesmaat Custom Homes Theme
Theme URI: https://www.keesmaathomes.com/
Author: Keesmaat Homes
Version: 1.0
License: GNU General Public License

*/

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

/* Header transparency effect */
#main-header {
    transition: all 0.3s ease-in-out;
}

#main-header.scrolled {
    background-color: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Parallax section styling */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Enhanced parallax effect for call-to-action */
.parallax-bg {
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
}

/* Mobile parallax fix */
@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
    }
}

/* Hero section styling with parallax */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section .absolute.inset-0 {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-section img {
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
}

/* Parallax effect on scroll */
@media (min-width: 769px) {
    .hero-section {
        background-attachment: fixed;
    }
}

/* Mobile parallax fix */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
}

/* Simple Developments Dropdown Styling */
.dropdown-menu {
    transition: all 0.2s ease-in-out;
}

.dropdown-menu:hover {
    transform: translateY(0);
}

/* Mobile dropdown adjustments */
@media (max-width: 768px) {
    .group .absolute {
        width: 95% !important;
        left: 2.5% !important;
        transform: none !important;
        margin-top: 1rem !important;
    }
}

/* Comprehensive responsive design */
@media (max-width: 640px) {
    /* Mobile hero section */
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    /* Mobile typography */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    /* Mobile buttons */
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-button {
        width: 100%;
        padding: 0.75rem 1.5rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    /* Tablet hero section */
    .hero-section {
        height: 65vh;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (min-width: 1025px) {
    /* Desktop hero section */
    .hero-section {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}



/* Additional responsive improvements */
@media (max-width: 640px) {
    /* Mobile navigation improvements */
    .mobile-menu {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    /* Mobile section spacing */
    .section-padding {
        padding: 2rem 0;
    }
    
    /* Mobile grid improvements */
    .grid-responsive {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Mobile text sizing */
    .text-responsive {
        font-size: 0.875rem;
    }
    
    /* Mobile button improvements */
    .btn-mobile {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    /* Tablet grid improvements */
    .grid-responsive {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1025px) {
    /* Desktop grid improvements */
    .grid-responsive {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}


/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-title {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    .hero-subtitle {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
}


.inner h2{--tw-text-opacity: 1;color: rgb(17 24 39 / var(--tw-text-opacity, 1));font-weight: 700;font-size: 2.25rem;line-height: 2.5rem;margin-bottom: 2rem;}
.inner h3{--tw-text-opacity: 1;color: rgb(17 24 39 / var(--tw-text-opacity, 1));font-weight: 700;font-size: 1.5rem;line-height: 2rem;margin-top: 3rem;margin-bottom: 2rem;}
.inner p{--tw-text-opacity: 1;color: rgb(75 85 99 / var(--tw-text-opacity, 1));line-height: 1.625;font-size: 1.25rem;margin-bottom: 2rem;}
.inner ul,.inner ol{list-style: disc;margin-left:23px;margin-bottom:23px;}
.inner li{--tw-text-opacity: 1;color: rgb(75 85 99 / var(--tw-text-opacity, 1));line-height: 1.625;font-size: 1.25rem;}
.inner a{text-decoration: underline !important}



.alignleft{float:left;margin:10px;}
.alignright{float:right;margin:10px;}
.alignnone{float:none;margin:10px;width:100%;height:auto;}
.aligncenter{float:none;margin:10px;width:100%;height:auto;margin-bottom:23px;}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1a365d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d5a27;
}

/* Hero section animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Hover effects for development cards */
.development-card {
    transition: all 0.3s ease;
}

.development-card:hover {
    transform: translateY(-5px);
}

/* Custom button styles */
.btn-primary {
    background: linear-gradient(135deg, #1a7ba5 0%, #2d5a27 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2d5a27 0%, #1a7ba5 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 123, 165, 0.3);
}

.btn-accent {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

/* Feature card hover effects */
.feature-card {
    transition: all 0.3s ease;
}

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

/* Testimonial card styles */
.testimonial-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile menu animations */
.mobile-menu {
    transition: all 0.3s ease;
}

.mobile-dropdown-content {
    transition: all 0.3s ease;
}

/* Custom typography */
.font-serif {
    font-family: 'Roboto', sans-serif;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

/* Loading animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s infinite;
}

/* Video container aspect ratio */
.aspect-w-16 {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.aspect-h-9 {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Custom focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gray-600 {
        color: #000 !important;
    }
    
    .text-gray-300 {
        color: #fff !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Custom utility classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

/* Gradient backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #1a7ba5 0%, #2d5a27 100%);
}

.bg-gradient-accent {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
}

/* Custom spacing */
.section-padding {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding: 8rem 0;
    }
}
