/* ========================================
   Mimosa Cottage Aiken — Custom Styles
   ======================================== */

/* --- Geometric Background Shapes --- */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 184, 75, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 184, 75, 0.06) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    border-radius: 50%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(232, 184, 75, 0.15);
    top: 20%;
    right: 15%;
    border-radius: 50%;
    animation: spin-slow 30s linear infinite;
}

.geo-circle-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    bottom: -50px;
    right: 10%;
    border-radius: 50%;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(232, 184, 75, 0.07);
    top: 30%;
    right: 8%;
    transform: rotate(15deg);
    animation: float-medium 12s ease-in-out infinite;
}

.geo-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(232, 184, 75, 0.3) 1px, transparent 1px);
    background-size: 12px 12px;
    top: 15%;
    left: 5%;
    opacity: 0.6;
    animation: float-medium 10s ease-in-out infinite reverse;
}

.geo-stripe {
    width: 200px;
    height: 200px;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 8px,
        rgba(232, 184, 75, 0.04) 8px,
        rgba(232, 184, 75, 0.04) 16px
    );
    bottom: 5%;
    right: 3%;
    transform: rotate(-15deg);
}

.geo-diamond-1 {
    width: 100px;
    height: 100px;
    background: rgba(232, 184, 75, 0.06);
    top: 10%;
    left: 5%;
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite;
}

.geo-diamond-2 {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(232, 184, 75, 0.12);
    bottom: 15%;
    right: 8%;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite reverse;
}

.geo-square-1 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(232, 184, 75, 0.1);
    top: 20%;
    right: 5%;
    animation: spin-slow 22s linear infinite;
}

.geo-circle-5 {
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    bottom: -80px;
    left: 10%;
    border-radius: 50%;
    animation: float-slow 16s ease-in-out infinite;
}

/* --- Animations --- */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px) rotate(15deg); }
    50% { transform: translateY(-15px) rotate(20deg); }
}

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

@keyframes scroll-line {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

.animate-scroll-line {
    animation: scroll-line 2s ease-in-out infinite;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Navigation --- */
.nav-link {
    position: relative;
}

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

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

/* --- Amenity Cards --- */
.amenity-card {
    position: relative;
    overflow: hidden;
}

.amenity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e8b84b, #d4a039);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.amenity-card:hover::before {
    transform: scaleX(1);
}

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

/* --- Custom Selection --- */
::selection {
    background: rgba(232, 184, 75, 0.3);
    color: #1a2744;
}

/* --- Mobile Menu Transition --- */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* --- Form Focus States --- */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(232, 184, 75, 0.15);
}

/* --- Image Hover --- */
img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }
    .geo-triangle {
        display: none;
    }
    .geo-dots {
        width: 60px;
        height: 60px;
    }
    .geo-stripe {
        display: none;
    }
}
