/* ========================================
   Authentic Beauty by Destiny Contreras
   Custom Styles
======================================== */

/* Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
}

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

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

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

.geo-circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.1) 0%, transparent 70%);
    top: 40%;
    right: 30%;
    border-radius: 50%;
    animation: float-slow 12s ease-in-out infinite;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(212, 168, 67, 0.15);
    top: 25%;
    right: 10%;
    transform: rotate(45deg);
    animation: float-slow 18s ease-in-out infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(212, 168, 67, 0.1);
    bottom: 20%;
    right: 25%;
    transform: rotate(20deg);
    animation: float-slow 14s ease-in-out infinite reverse;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(212, 168, 67, 0.06);
    top: 60%;
    left: 5%;
    animation: float-slow 16s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-30px) rotate(45deg); }
}

.geo-square-2 {
    animation-name: float-slow-square;
}

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

.geo-triangle {
    animation-name: float-triangle;
}

@keyframes float-triangle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-25px); }
}

/* ========================================
   Hero Animations
======================================== */
.hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-image-wrapper {
    opacity: 1;
    transform: translateY(0);
}

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

#navbar.scrolled {
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Mobile Menu
======================================== */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s, transform 0.3s;
}

#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
}

.menu-line {
    display: block;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* ========================================
   Service Cards
======================================== */
.service-card {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    border-color: rgba(212, 168, 67, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(212, 168, 67, 0.05);
}

/* ========================================
   Gallery
======================================== */
.gallery-item {
    opacity: 1;
    transform: translateY(0);
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 30, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: inherit;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ========================================
   Testimonial Cards
======================================== */
.testimonial-card {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    border-color: rgba(212, 168, 67, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Scroll Reveal (Progressive Enhancement)
   Content is visible by default; JS adds animation
======================================== */
@media (prefers-reduced-motion: no-preference) {
    .section-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}

/* ========================================
   Custom Select Styling
======================================== */
select option {
    background: #1E293B;
    color: #fff;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .geo-square-1 {
        width: 60px;
        height: 60px;
    }
    
    .geo-triangle {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-bottom: 50px solid rgba(212, 168, 67, 0.06);
    }
}

/* ========================================
   Focus Visible
======================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #D4A843;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ========================================
   Selection
======================================== */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #fff;
}
