/* Custom styles for Atlantis by Vacation Rental Pros */

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f1f5f9;
}

/* Geometric accent lines */
.accent-line {
    position: relative;
}
.accent-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #14b8a6, transparent);
    border-radius: 2px;
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Property card hover image zoom */
.property-img {
    will-change: transform;
}

/* Feature card icon container */
.feature-card .w-14 {
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.2);
}

/* Testimonial card quote styling */
.testimonial-card p {
    position: relative;
    z-index: 1;
}

/* Navbar glass effect on scroll */
.nav-scrolled {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
.mobile-menu {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form focus states */
.form-input:focus {
    border-color: #14b8a6 !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15) !important;
}

/* Button ripple effect */
.btn-primary, .btn-outline {
    position: relative;
    overflow: hidden;
}
.btn-primary::after, .btn-outline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn-primary:active::after, .btn-outline:active::after {
    width: 200px;
    height: 200px;
}

/* Counter animation */
.stat-number {
    display: inline-block;
}

/* Geometric decorations */
.geo-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

/* Custom select styling */
.form-input select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2314b8a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contact-form, .geo-shape, .blob {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
}
