/* ============================================
   Cottage By The Bay - Custom Styles
   ============================================ */

/* Base Reset & Smooth Scrolling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    min-height: 100vh;
}

/* ============================================
   Geometric Decorative Shapes
   ============================================ */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

/* Circles */
.circle-1 {
    width: 300px;
    height: 300px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 30%;
    right: 10%;
    animation-delay: 1s;
}

.circle-3 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    bottom: 25%;
    left: 15%;
    animation-delay: 2s;
}

/* Squares */
.square-1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    top: 20%;
    right: 25%;
    transform: rotate(15deg);
    animation-delay: 0.5s;
}

.square-2 {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    bottom: 30%;
    right: 20%;
    transform: rotate(30deg);
    animation-delay: 1.5s;
}

/* Triangle */
.triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(255, 255, 255, 0.1);
    top: 45%;
    left: 8%;
    animation-delay: 2.5s;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(var(--rotation, 0deg));
    }
    50% {
        transform: translateY(-20px) rotate(var(--rotation, 0deg));
    }
}

/* Apply rotation variables to shapes */
.square-1 { --rotation: 15deg; }
.square-2 { --rotation: 30deg; }
.triangle-1 { --rotation: 0deg; }

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    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;
}

/* ============================================
   Navbar Styles
   ============================================ */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ============================================
   Form Styles
   ============================================ */
input:focus,
select:focus,
textarea:focus {
    border-color: #1b5e20 !important;
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1);
}

/* ============================================
   Custom Selection Color
   ============================================ */
::selection {
    background: #2e7d32;
    color: white;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .geo-shape,
    .animate-bounce {
        display: none !important;
    }
}
