/* Custom styles */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
}

/* Important form overrides */
input, textarea, select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Mobile Menu Animation */
.mobile-menu-btn {
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.3s ease;
}

.mobile-menu-btn span:nth-child(1) {
    top: 6px;
}

.mobile-menu-btn span:nth-child(2) {
    top: 12px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 18px;
}

.mobile-menu-btn.active span:nth-child(1) {
    top: 12px;
    transform: rotate(135deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-btn.active span:nth-child(3) {
    top: 12px;
    transform: rotate(-135deg);
}

/* Navigation */
.nav-link {
    @apply text-gray-600 hover:text-gray-900 transition-colors relative;
}

.nav-link::after {
    content: '';
    @apply absolute bottom-0 left-0 w-0 h-0.5 bg-blue-600 transition-all duration-300;
}

.nav-link:hover::after {
    @apply w-full;
}

/* Buttons */
.btn-primary {
    background-color: #2563eb;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(0);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Navigation CTA Button */
.btn-nav-cta {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    border: none;
    cursor: pointer;
    transform: translateY(0);
}

.btn-nav-cta:hover {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
    transform: translateY(-2px);
}

.btn-nav-cta-scrolled {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-nav-cta-scrolled:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
}

.btn-nav-cta-mobile {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    border: none;
    cursor: pointer;
    transform: translateY(0);
}

.btn-nav-cta-mobile:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
    transform: translateY(-2px);
}

/* Feature Cards */
.feature-card {
    @apply p-8 rounded-2xl bg-white shadow-lg hover:shadow-xl transition-all duration-300 transform hover:-translate-y-1;
}

.feature-icon {
    @apply w-16 h-16 mb-6 bg-blue-50 rounded-2xl flex items-center justify-center text-blue-600;
}

/* Form Elements */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    background-color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    color: #374151;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: #ffffff;
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Specific input and textarea styles */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    background-color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    color: #374151;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: #ffffff;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
    color: #9ca3af;
}

/* Checkbox styles */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    background-color: #ffffff;
    cursor: pointer;
    position: relative;
    outline: none;
}

input[type="checkbox"]:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}

input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Label styles */
label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

/* Gallery */
.gallery-swiper {
    @apply rounded-2xl overflow-hidden shadow-2xl;
}

.swiper-button-next,
.swiper-button-prev {
    @apply text-white bg-black/20 hover:bg-black/40 rounded-full w-12 h-12 transition-all duration-300;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    @apply text-xl;
}

.swiper-pagination-bullet {
    @apply bg-white/50;
}

.swiper-pagination-bullet-active {
    @apply bg-white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

::-webkit-scrollbar-track {
    @apply bg-gray-100;
}

::-webkit-scrollbar-thumb {
    @apply bg-gray-300 rounded-full hover:bg-gray-400 transition-colors;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn-primary:last-child,
    .btn-secondary:last-child {
        margin-bottom: 0;
    }
    
    /* Mobile form adjustments */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    .form-input {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px 16px;
    }
    
    label {
        font-size: 14px;
        margin-bottom: 6px;
    }
}

/* Glass Effect */
.glass-effect {
    @apply bg-white/80 backdrop-blur-md border border-white/20;
}

/* Hover Effects */
.hover-lift {
    @apply transition-transform duration-300 hover:-translate-y-1;
}

.hover-scale {
    @apply transition-transform duration-300 hover:scale-105;
}

/* Text Gradients */
.text-gradient {
    @apply bg-clip-text text-transparent bg-gradient-to-r from-primary-color to-accent-color;
}

/* Custom Shadows */
.shadow-soft {
    @apply shadow-[0_8px_30px_rgb(0,0,0,0.12)];
}

.shadow-strong {
    @apply shadow-[0_8px_30px_rgb(0,0,0,0.25)];
}

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

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

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Mobile layout for property details */
    #about .grid {
        flex-direction: column;
    }
    
    /* Mobile layout for property details items */
    #about .flex.justify-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    #about .flex.justify-between span:first-child {
        font-weight: 600;
        color: #374151;
    }
    
    #about .flex.justify-between span:last-child {
        text-align: left;
        word-break: break-word;
    }
} 