/* ===================================
   STRESSED OUT INK — Custom Styles
   =================================== */

/* CSS Custom Properties */
:root {
    --burgundy-50: #fdf2f4;
    --burgundy-100: #fce7eb;
    --burgundy-200: #fad0d8;
    --burgundy-300: #f5a5b5;
    --burgundy-400: #ed6d8f;
    --burgundy-500: #d4456a;
    --burgundy-600: #ba2d52;
    --burgundy-700: #9a2141;
    --burgundy-800: #7f1d3a;
    --burgundy-900: #6b1a35;
    --burgundy-950: #3a0a18;
    --blush-300: #f5b5c0;
    --blush-400: #ed7e93;
    --cream: #FDF8F5;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: #6b1a35;
    background-color: #FDF8F5;
    overflow-x: hidden;
}

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

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

/* ===================================
   NAVIGATION
   =================================== */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-fixed.scrolled {
    background: rgba(253, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(107, 26, 53, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ba2d52, #ed7e93);
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

/* Logo */
.logo-mark {
    color: #9a2141;
    transition: color 0.3s ease;
}

.nav-fixed .logo-mark {
    color: #9a2141;
}

/* Mobile Menu */
.mobile-menu-btn {
    z-index: 60;
}

.hamburger-line {
    transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    animation: menuSlideDown 0.3s ease forwards;
}

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

.mobile-menu-link {
    position: relative;
    z-index: 1;
}

/* ===================================
   BUTTONS
   =================================== */
.cta-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #ba2d52 0%, #d4456a 50%, #ed7e93 100%);
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(186, 45, 82, 0.35);
    position: relative;
    overflow: hidden;
}

.cta-button-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #9a2141 0%, #ba2d52 50%, #d4456a 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.cta-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(186, 45, 82, 0.45);
}

.cta-button-primary:hover::before {
    opacity: 1;
}

.cta-button-primary span,
.cta-button-primary svg {
    position: relative;
    z-index: 1;
}

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

.cta-button-primary:hover .cta-btn-icon {
    transform: translate(3px, -3px);
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(253, 242, 244, 0.1);
    color: #fce7eb;
    font-family: var(--font-body);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 9999px;
    border: 1.5px solid rgba(253, 242, 244, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.cta-button-secondary:hover {
    background: rgba(253, 242, 244, 0.2);
    border-color: rgba(253, 242, 244, 0.6);
    transform: translateY(-2px);
}

/* ===================================
   SECTION LABELS
   =================================== */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ba2d52;
    background: linear-gradient(90deg, #fce7eb, #fad0d8);
    padding: 8px 20px;
    border-radius: 9999px;
    margin-bottom: 0;
}

.section-label-light {
    color: #f5b5c0;
    background: rgba(245, 181, 192, 0.15);
    border: 1px solid rgba(245, 181, 192, 0.3);
}

/* ===================================
   HERO
   =================================== */
.hero-bg {
    background: linear-gradient(135deg, #3a0a18 0%, #6b1a35 40%, #9a2141 70%, #7f1d3a 100%);
}

.hero-geo {
    position: absolute;
    opacity: 0.08;
}

.hero-geo-circle-1 {
    width: 600px;
    height: 600px;
    border: 2px solid #f5b5c0;
    border-radius: 50%;
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-geo-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #ed7e93 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #f5a5b5;
    top: 20%;
    left: 10%;
    animation: rotate 12s linear infinite;
    opacity: 0.06;
}

.hero-geo-diamond {
    width: 100px;
    height: 100px;
    background: #ed7e93;
    transform: rotate(45deg);
    bottom: 25%;
    right: 15%;
    animation: float 7s ease-in-out infinite;
    opacity: 0.07;
}

.hero-geo-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #f5a5b5 1px, transparent 1px);
    background-size: 20px 20px;
    top: 40%;
    right: 5%;
    opacity: 0.1;
    animation: float 9s ease-in-out infinite;
}

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

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

/* ===================================
   SERVICE CARDS
   =================================== */
.service-card {
    border: 1px solid rgba(186, 45, 82, 0.08);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(107, 26, 53, 0.12);
}

.service-card-icon {
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* ===================================
   GALLERY
   =================================== */
.gallery-item {
    cursor: pointer;
}

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

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

/* ===================================
   CONTACT FORM
   =================================== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b1a35;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #fad0d8;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #6b1a35;
    background: #fef6f7;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: #d4456a;
    opacity: 0.5;
}

.form-input:focus {
    border-color: #ba2d52;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(186, 45, 82, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239a2141' stroke-width='2' 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 14px center;
    padding-right: 44px;
    cursor: pointer;
}

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

.contact-form {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.contact-success {
    animation: fadeInUp 0.5s ease forwards;
}

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

/* ===================================
   GEOMETRIC BACKGROUND SHAPES
   =================================== */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border: 2px solid #ba2d52;
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #ed7e93, transparent);
    border-radius: 50%;
    bottom: 20%;
    left: -80px;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #ba2d52;
    top: 50%;
    right: 5%;
    transform: rotate(15deg);
}

.geo-arc {
    width: 200px;
    height: 200px;
    border: 3px solid #ed7e93;
    border-radius: 50%;
    border-top-color: transparent;
    border-left-color: transparent;
    bottom: 10%;
    left: 10%;
    transform: rotate(-45deg);
}

.geo-dots {
    width: 150px;
    height: 150px;
    background-image: radial-gradient(circle, #ba2d52 1.5px, transparent 1.5px);
    background-size: 15px 15px;
    top: 35%;
    left: 3%;
    transform: rotate(30deg);
}

/* ===================================
   SCROLL REVEAL ANIMATIONS
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .hero-geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .hero-geo-circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .hero-geo-triangle {
        border-left-width: 40px;
        border-right-width: 40px;
        border-bottom-width: 70px;
    }
    
    .hero-geo-diamond {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 640px) {
    .hero-photo {
        display: none;
    }
}
