/* ===== Custom Styles for Lake Owasso Residence ===== */

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

/* Body background fix */
body {
    background-color: #FFF8F5;
}

/* ===== Navbar ===== */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(124, 31, 31, 0.08);
}

.nav-logo-text {
    transition: color 0.3s ease;
}

#navbar.scrolled .nav-logo-text {
    color: #3a0c0c;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d44040;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    position: relative;
    padding-left: 0;
}

.mobile-link:hover {
    color: #b82e2e;
}

/* ===== Hero Geometric Shapes ===== */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.circle-1 {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, #f9d0d0 0%, transparent 70%);
    top: -100px;
    right: -80px;
    animation: float1 8s ease-in-out infinite;
}

.circle-2 {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, #fce7e7 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    animation: float2 10s ease-in-out infinite;
}

.circle-3 {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px solid rgba(244, 117, 117, 0.4);
    top: 25%;
    left: 10%;
    animation: float3 6s ease-in-out infinite;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(249, 208, 208, 0.3);
    top: 20%;
    right: 15%;
    transform: rotate(15deg);
    animation: spin 20s linear infinite;
}

.rect-1 {
    width: 80px;
    height: 80px;
    background: rgba(253, 242, 242, 0.2);
    border: 2px solid rgba(244, 117, 117, 0.3);
    bottom: 25%;
    right: 8%;
    transform: rotate(45deg);
    animation: float1 7s ease-in-out infinite reverse;
}

.dot-pattern {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(244, 117, 117, 0.5) 1px, transparent 1px);
    background-size: 12px 12px;
    top: 60%;
    left: 15%;
    opacity: 0.4;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(15px) scale(1.05); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(10deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== Scroll Reveal ===== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .geo-shape {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ===== Back to Top ===== */
#backToTop {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#backToTop.visible {
    opacity: 1;
    pointer-events: all;
}

#backToTop:not(.visible) {
    transform: translateY(10px);
}

/* ===== Room Card Hover ===== */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #b82e2e;
}

/* ===== Form focus states ===== */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 64, 64, 0.1);
}

/* ===== Responsive adjustments ===== */
@media (max-width: 768px) {
    .circle-1 {
        width: 250px;
        height: 250px;
    }
    .circle-2 {
        width: 160px;
        height: 160px;
    }
    .circle-3 {
        width: 100px;
        height: 100px;
    }
    .triangle-1 {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-bottom: 69px solid rgba(249, 208, 208, 0.3);
    }
    .rect-1 {
        width: 50px;
        height: 50px;
    }
}
