/* ========================================
   EAGLE VIEW SERVICES — Custom Styles
   Burgundy + Blush | Vibrant Modern
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* --- Geometric Background Shapes --- */
.geo-shapes {
    z-index: 0;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(132, 20, 52, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.geo-circle--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 128, 158, 0.08) 0%, transparent 70%);
    bottom: 10%;
    left: -50px;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 104px 60px;
    border-color: transparent transparent rgba(132, 20, 52, 0.05) transparent;
    top: 30%;
    left: 5%;
    transform: rotate(-15deg);
}

.geo-triangle--1 {
    border-width: 0 40px 69px 40px;
    border-color: transparent transparent rgba(255, 77, 117, 0.06) transparent;
    top: 60%;
    right: 8%;
    transform: rotate(25deg);
}

.geo-rect {
    position: absolute;
    background: rgba(132, 20, 52, 0.04);
    border-radius: 12px;
}

.geo-rect--1 {
    width: 80px;
    height: 80px;
    top: 45%;
    right: 15%;
    transform: rotate(45deg);
}

.geo-dots {
    position: absolute;
    pointer-events: none;
}

.geo-dots--1 {
    top: 20%;
    left: 3%;
    opacity: 0.4;
}

/* --- Navbar --- */
.nav-header {
    background: rgba(255, 248, 245, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(132, 20, 52, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav-header.scrolled {
    box-shadow: 0 4px 30px rgba(132, 20, 52, 0.1);
}

.nav-link {
    position: relative;
}

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

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

/* Mobile menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

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

.menu-line {
    transition: all 0.3s ease;
}

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

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

.mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.25rem;
}

.mobile-nav-link {
    position: relative;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #841434;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(132, 20, 52, 0.3);
}

.btn-primary:hover {
    background: #a11533;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(132, 20, 52, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary--lg {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 16px;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow,
.btn-white:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-secondary--lg {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 16px;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: #841434;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    background: #fff5f7;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-white--lg {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 16px;
}

.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-ghost-light--lg {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 16px;
}

/* --- Hero --- */
.hero {
    position: relative;
    background: linear-gradient(135deg, #3b0512 0%, #6e132e 40%, #841434 70%, #a11533 100%);
}

.hero-bg {
    z-index: 0;
}

.hero-gradient {
    background: linear-gradient(
        135deg,
        rgba(59, 5, 18, 0.88) 0%,
        rgba(110, 19, 46, 0.82) 40%,
        rgba(132, 20, 52, 0.78) 70%,
        rgba(161, 21, 51, 0.72) 100%
    );
}

.hero-img {
    position: absolute;
    inset: 0;
}

.hero-deco {
    animation: float 6s ease-in-out infinite;
}

.hero-deco--circle {
    animation-delay: 0s;
}

.hero-deco--square {
    animation-delay: 2s;
}

.hero-deco--dots {
    animation-delay: 4s;
}

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

.hero-headline {
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-highlight {
    background: linear-gradient(135deg, #ffb4c5 0%, #ff809e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

/* Scroll indicator */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.scroll-mouse {
    border-color: rgba(255, 255, 255, 0.4);
}

/* --- Section Shared --- */
.section {
    position: relative;
    z-index: 1;
}

.section-label {
    font-family: 'Outfit', sans-serif;
}

.section-header {
    margin-bottom: 4rem;
}

.section-desc {
    font-family: 'Inter', sans-serif;
}

/* --- Services --- */
.services-grid {
    display: grid;
    gap: 1.5rem;
}

.service-card {
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    overflow: hidden;
}

.service-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #841434, #ff809e);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-card-inner::before {
    opacity: 1;
}

/* --- About --- */
.about-image-wrapper {
    position: relative;
}

.about-float-card {
    animation: floatCard 4s ease-in-out infinite;
}

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

.about-stat {
    text-align: center;
}

/* --- Why Us --- */
.why-us-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.why-card {
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #841434, #ff809e);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.why-card:hover::after {
    transform: scaleX(1);
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    gap: 0.75rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(132, 20, 52, 0) 0%, rgba(132, 20, 52, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
}

.cta-shape {
    animation: ctaFloat 8s ease-in-out infinite;
}

.cta-shape--1 {
    animation-delay: 0s;
}

.cta-shape--2 {
    animation-delay: 4s;
}

@keyframes ctaFloat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* --- Contact --- */
.contact-shape {
    position: absolute;
    z-index: 0;
}

.contact-form-wrapper {
    position: relative;
}

/* Form styles */
.form-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #6e132e;
    margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #1a1a1a;
    background: #fff5f7;
    border: 2px solid #fce7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #c2254340;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #841434;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(132, 20, 52, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #dc4460;
    box-shadow: 0 0 0 4px rgba(220, 68, 96, 0.1);
}

.form-select {
    appearance: none;
    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='%23841434' stroke-width='3' 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 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-error {
    font-size: 0.8rem;
    color: #c22543;
    margin-top: 4px;
    display: none;
}

.form-group.error .form-error {
    display: block;
}

/* Success state */
.form-success {
    animation: fadeIn 0.5s ease;
}

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

.form-success-icon {
    animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* --- Footer --- */
.footer {
    position: relative;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.footer-social-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

/* --- 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) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2,
    .about h2,
    .why-us h2,
    .gallery h2,
    .contact h2 {
        font-size: 2.25rem;
    }
    
    .about-float-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        display: inline-block;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:first-child {
        grid-column: span 1;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
