/* Custom Font Loading */
@font-face {
    font-family: 'Portrait Script Bounce';
    src: url('/assets/fonts/Portrait_Script_Bounce.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Improves loading performance */
}
@font-face {
    font-family: 'Bourton Bold';
    src: url('/assets/fonts/Bourton-Base-Drop.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Improves loading performance */
}
:root {
    --navy: #2C3E50;
    --gold: #D4AF37;
    --light-gold: #F4E4BC;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #343A40;
    --text-gray: #6C757D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a:hover {
    text-decoration: underline;
}

/* Parallax container */
.parallax-container {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    perspective: 1px;
}

.parallax-element {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.parallax-back {
    transform: translateZ(-1px) scale(2);
}

.parallax-base {
    transform: translateZ(0);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(44, 62, 80, 0.98);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Portrait Script Bounce', 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.logo-image {
    display: block;
    height: 75px;
    width: auto;
    transition: all 0.3s ease;
}

.header.scrolled .logo-image {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, #1a252f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23D4AF37" stop-opacity="0.1"/><stop offset="100%" stop-color="%23D4AF37" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="3" fill="url(%23a)"/><circle cx="600" cy="400" r="2" fill="url(%23a)"/><circle cx="800" cy="600" r="4" fill="url(%23a)"/><circle cx="300" cy="700" r="2" fill="url(%23a)"/><circle cx="900" cy="200" r="3" fill="url(%23a)"/></svg>') center/cover;
}

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

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

.hero-logo {
    width: 400px;
    max-width: 90%;
    height: auto;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: 'Portrait Script Bounce', 'Dancing Script', cursive;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: 'Bourton Bold','Montserrat', sans-serif;
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--gold);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), #B8941F);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

/* Diagonal Sections */
.diagonal-section {
    position: relative;
    padding: 8rem 0;
}

.diagonal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    transform: skewY(-3deg);
    transform-origin: top left;
    z-index: -1;
}

.diagonal-section.reverse::before {
    transform: skewY(3deg);
}

.section-about {
    background: var(--light-gray);
}

.section-services {
    background: var(--white);
}

.section-portfolio {
    background: var(--navy);
    color: var(--white);
}

.section-contact {
    background: var(--light-gold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Portrait Script Bounce','Dancing Script', cursive;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--navy);
}

.section-portfolio .section-title {
    color: var(--gold);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-text h3 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Bourton Bold', 'Montserrat', sans-serif;
}

.about-image {
    text-align: center;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--gold);
    border-radius: 10px;
    z-index: -1;
}

.placeholder-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--navy), var(--gold));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--gold), var(--navy));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), #B8941F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: 'Bourton Bold','Montserrat', sans-serif;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--navy);
    margin-right: 1rem;
    width: 20px;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

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

.submit-btn {
    background: linear-gradient(135deg, var(--navy), #1a252f);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
}

.footer-logo {
    font-family: 'Portrait Script Bounce', 'Dancing Script', cursive;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-logo-image {
    height: 100px;
    width: auto;
    margin-bottom: 1rem;
}

.footer p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--gold);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        display: none;
    }
    .nav-menu {
        display: none;
    }
    .nav-container {
        justify-content: center;
    }
    .logo-image {
        height: 100px;
    }
    
    .hero-logo {
        width: 300px;
        max-width: 85%;
    }
    
    .footer-logo-image {
        height: 100px;
        width: auto;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .diagonal-section {
        padding: 4rem 0;
    }
    
    .diagonal-section::before {
        transform: skewY(-1deg);
    }
    
    .diagonal-section.reverse::before {
        transform: skewY(1deg);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Portfolio Item Image Zoom Effect */
.portfolio-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.4s cubic-bezier(.25,.8,.25,1), box-shadow 0.4s;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    transition: transform 0.4s cubic-bezier(.25,.8,.25,1);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.portfolio-content {
    padding: 24px;
    background: #fff;
    color: #222 !important;
    border-radius: 0 0 12px 12px;
    flex: 1;
}

