/* ============================================
   ELENA ROSE PHOTOGRAPHY - STYLESHEET
   Minimal Photographer Portfolio Template
   ============================================ */

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Colors */
    --gold: #c9a962;
    --gold-light: #e8d5a3;
    --gold-dark: #a88b3d;
    --charcoal: #2d2d2d;
    --light-gray: #f7f7f7;
    --medium-gray: #9a9a9a;
    --white: #ffffff;
    --black: #1a1a1a;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-normal);
}

ul {
    list-style: none;
}

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

input {
    font-family: inherit;
}

/* ==================== UTILITY CLASSES ==================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== TYPOGRAPHY ==================== */
.section-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal);
}

.section-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.5rem auto;
}

.section-description {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background: var(--gold-dark);
}

.btn-primary svg {
    transition: transform var(--transition-normal);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--charcoal);
}

.btn-outline:hover {
    background: var(--charcoal);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-block {
    width: 100%;
}

/* ==================== NAVIGATION ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    transition: color var(--transition-normal);
}

.header.scrolled .logo-text {
    color: var(--charcoal);
}

.logo-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    transition: color var(--transition-normal);
}

.header.scrolled .logo-subtitle {
    color: var(--gold);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    position: relative;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    padding-bottom: 4px;
    transition: color var(--transition-normal);
}

.header.scrolled .nav-link {
    color: var(--charcoal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-toggle,
.nav-close {
    display: none;
    padding: 8px;
    color: var(--white);
    transition: color var(--transition-normal);
}

.header.scrolled .nav-toggle {
    color: var(--charcoal);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
}

.hero-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-indicator {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--gold), transparent);
    margin-top: 8px;
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.6); opacity: 0.6; }
}

/* ==================== ABOUT SECTION ==================== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    padding: 16px;
    transition: all var(--transition-slow);
}

.image-frame::before,
.image-frame::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 1px solid var(--gold);
    transition: all var(--transition-slow);
}

.image-frame::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.image-frame::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.image-frame:hover::before,
.image-frame:hover::after {
    width: 100%;
    height: 100%;
}

.about-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--gold);
    color: var(--white);
    padding: 24px;
    text-align: center;
    z-index: 10;
}

.badge-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 4px;
}

.about-content .section-divider {
    margin-left: 0;
}

.about-text {
    font-size: 1.1rem;
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 2rem;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-top: 4px;
}

/* ==================== PORTFOLIO SECTION ==================== */
.portfolio {
    background: var(--light-gray);
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--white);
    color: var(--charcoal);
    border: none;
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    opacity: 0;
    transition: opacity var(--transition-normal);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-normal) 0.1s;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-category {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.portfolio-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--white);
}

/* ==================== SERVICES SECTION ==================== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.service-card {
    background: var(--white);
    border: 1px solid #e8e8e8;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-image {
    position: relative;
    height: 256px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-icon {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-content {
    padding: 24px;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.service-description {
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--medium-gray);
}

.service-features svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ==================== BLOG SECTION ==================== */
.blog {
    background: var(--light-gray);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.blog-card {
    background: var(--white);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-image {
    position: relative;
    height: 224px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-img {
    transform: scale(1.08);
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-bottom: 12px;
}

.blog-dot {
    font-size: 0.5rem;
}

.blog-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 12px;
    transition: color var(--transition-normal);
}

.blog-card:hover .blog-title {
    color: var(--gold);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    transition: all var(--transition-normal);
}

.blog-link:hover {
    gap: 12px;
}

/* ==================== PRICING SECTION ==================== */
.pricing {
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 48px;
}

.pricing-card {
    position: relative;
    background: var(--white);
    border: 1px solid #e8e8e8;
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--gold);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 16px;
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-name {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 8px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 8px;
}

.price-amount {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
}

.pricing-description {
    font-size: 0.95rem;
    color: var(--medium-gray);
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    color: var(--gold);
    flex-shrink: 0;
}

.pricing-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--medium-gray);
}

.pricing-note a {
    color: var(--gold);
}

.pricing-note a:hover {
    text-decoration: underline;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background: var(--charcoal);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info .section-divider {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.contact-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition-normal);
}

.contact-item:hover .contact-icon {
    background: var(--gold);
    border-color: var(--gold);
}

.contact-item:hover .contact-value {
    color: var(--gold);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: all var(--transition-normal);
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.contact-value {
    display: block;
    font-size: 1.1rem;
    transition: color var(--transition-normal);
}

.contact-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-normal);
}

.social-link:hover {
    border-color: var(--gold);
    background: var(--gold);
}

.contact-image {
    position: relative;
}

.contact-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.contact-image::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    z-index: -1;
}

/* ==================== NEWSLETTER SECTION ==================== */
.newsletter {
    background: var(--gold);
    padding: 64px 0;
}

.newsletter-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--white);
}

.newsletter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--white);
    color: var(--gold-dark);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.newsletter-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.newsletter-btn svg {
    flex-shrink: 0;
}

.btn-loading {
    display: flex;
    gap: 4px;
}

.btn-loading .dot {
    width: 6px;
    height: 6px;
    background: var(--gold-dark);
    border-radius: 50%;
    animation: dotPulse 1.4s infinite ease-in-out both;
}

.btn-loading .dot:nth-child(1) { animation-delay: -0.32s; }
.btn-loading .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.newsletter-message {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--white);
    min-height: 20px;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--charcoal);
    padding: 48px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo .logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
}

.footer-logo .logo-subtitle {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 4px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social .social-link {
    color: rgba(255, 255, 255, 0.5);
}

.footer-social .social-link:hover {
    color: var(--white);
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-dark);
    transform: translateY(-4px);
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

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

.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Parallax effect for hero */
.parallax-img {
    will-change: transform;
}

/* ==================== CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--white);
}

::-webkit-scrollbar-thumb {
    background: var(--medium-gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ==================== SELECTION ==================== */
::selection {
    background: var(--gold);
    color: var(--white);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (min-width: 576px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .section {
        padding: 140px 0;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==================== MOBILE NAVIGATION ==================== */
@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        padding: 80px 24px 40px;
        transition: right var(--transition-normal);
        z-index: 100;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.show {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 1rem;
        color: var(--charcoal);
    }
    
    .nav-toggle,
    .nav-close {
        display: block;
        position: relative;
        z-index: 101;
    }
    
    .nav-close {
        position: absolute;
        top: 20px;
        right: 24px;
        color: var(--charcoal);
        z-index: 102;
    }
    
    .header.scrolled .nav-toggle {
        color: var(--charcoal);
    }
    
    /* Fix for hero image on mobile */
    .hero {
        min-height: 100svh;
    }
    
    .hero-img {
        transform: scale(1);
    }
    
    /* Fix about badge position */
    .about-badge {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 24px;
        display: inline-block;
    }
    
    /* Fix contact image pseudo element */
    .contact-image::before {
        display: none;
    }
}

/* ==================== ANIMATION DELAYS ==================== */
[data-delay="300"] { animation-delay: 0.3s; }
[data-delay="500"] { animation-delay: 0.5s; }
[data-delay="700"] { animation-delay: 0.7s; }
[data-delay="900"] { animation-delay: 0.9s; }
[data-delay="1100"] { animation-delay: 1.1s; }

/* ==================== PAGE HEADER ==================== */
.page-header {
    padding: 160px 0 80px;
    background: var(--light-gray);
    text-align: center;
}

.page-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal);
}

/* ==================== SERVICE FEATURES LIST ==================== */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--medium-gray);
}

.service-features svg {
    flex-shrink: 0;
}
