/* Premium Squarespace-Inspired Design for Enthusiast Services */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary: #FF6B00; /* Orange from the logo dot */
    --primary-dark: #E05C00; /* Darker orange for hover states */
    --secondary: #001A33; /* Navy blue from the logo text */
    --text-dark: #001A33; /* Navy from the logo */
    --text-medium: #333333;
    --text-light: #777777;
    --background-light: #ffffff;
    --background-off: #f8f8f8;
    --background-dark: #001A33; /* Navy from the logo */
    --border-light: #eeeeee;
    --border-medium: #dddddd;
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 80px;
    --spacing-xxl: 120px;
    --transition: all 0.3s ease;
    --box-shadow-light: 0 10px 30px rgba(0, 0, 0, 0.05);
    --box-shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.1);
    --border-radius-sm: 3px;
    --border-radius-md: 5px;
    --border-radius-lg: 8px;
    --font-heading: 'Montserrat', sans-serif; /* Changed to match the logo */
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text-medium);
    background-color: var(--background-light);
    font-weight: 400;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: 4.8rem;
    font-weight: 600;
}

h2 {
    font-size: 3.6rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

h3 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 2rem;
}

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

ul, ol {
    list-style: none;
}

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

button, .btn {
    cursor: pointer;
    font-family: var(--font-body);
}

/* Container */
.container {
    width: 90%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -2rem;
}

.col {
    padding: 0 2rem;
}

.col-1 { width: 8.33%; }
.col-2 { width: 16.66%; }
.col-3 { width: 25%; }
.col-4 { width: 33.33%; }
.col-5 { width: 41.66%; }
.col-6 { width: 50%; }
.col-7 { width: 58.33%; }
.col-8 { width: 66.66%; }
.col-9 { width: 75%; }
.col-10 { width: 83.33%; }
.col-11 { width: 91.66%; }
.col-12 { width: 100%; }

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.bg-light { background-color: var(--background-light); }
.bg-off { background-color: var(--background-off); }
.bg-dark { background-color: var(--background-dark); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mt-5 { margin-top: 5rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-5 { margin-bottom: 5rem; }
.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pt-3 { padding-top: 3rem; }
.pt-4 { padding-top: 4rem; }
.pt-5 { padding-top: 5rem; }
.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-3 { padding-bottom: 3rem; }
.pb-4 { padding-bottom: 4rem; }
.pb-5 { padding-bottom: 5rem; }

.d-flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

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

.space-between {
    justify-content: space-between;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-size: 1.4rem;
    transition: var(--transition);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    z-index: -2;
}

.btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary-dark);
    transition: all .3s;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

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

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

.btn-outline:hover {
    color: white;
}

.btn-dark {
    background-color: var(--text-dark);
    color: white;
}

.btn-light {
    background-color: white;
    color: var(--text-dark);
}

/* Header */
.header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header.transparent {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    box-shadow: none;
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header.transparent .logo a,
.header.transparent .nav-links a {
    color: white;
    white-space: nowrap; /* Prevent text wrapping on transparent header nav items */
}

.logo a {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevent logo from shrinking */
}

/* Logo image for regular headers */
.logo-image {
    height: 40px;
    width: auto;
    transition: height 0.3s ease;
}

/* Logo height in header already defined below */

/* Logo styling */
.logo-link {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    background: transparent;
}

/* Text-based logo styling */
.text-logo {
    font-size: 2.4rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Add shadow for better visibility */
    white-space: nowrap; /* Prevent text wrapping */
}

.header.scrolled .logo-image {
    height: 40px;
    transition: height 0.3s ease;
}

.header.scrolled .text-logo {
    font-size: 2rem;
    transition: font-size 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping on scrolled header */
}

/* Different logos for different headers */
.logo-dark {
    display: block;
}

.logo-white {
    display: none;
}

/* Show white logo on transparent header (homepage) */
.header.transparent .logo-dark {
    display: none;
}

.header.transparent .logo-white {
    display: block;
}

/* Ensure transparent header text logo doesn't wrap */
.header.transparent .text-logo {
    white-space: nowrap;
}

.logo span {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    flex-shrink: 1; /* Allow nav to shrink but not break */
}

.nav-links {
    display: flex;
    flex-wrap: nowrap; /* Prevent navigation items from wrapping */
}

.nav-links li {
    margin-left: 4rem;
}

.nav-links a {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links .btn-nav {
    background-color: var(--primary);
    color: white !important;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-md);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 0.1rem;
    transition: var(--transition);
    margin-left: 1rem;
    white-space: nowrap; /* Prevent text wrapping */
}

.nav-links .btn-nav::after {
    display: none;
}

.nav-links .btn-nav:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    z-index: 999999;
    position: relative;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.header.transparent .bar {
    background-color: white;
}

/* Hero Section with Video Background */
.hero {
    position: relative;
    height: 100vh;
    min-height: 70rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
    background-color: var(--background-dark); /* Fallback if video doesn't load */
}

.video-foreground,
.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.video-background iframe {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    aspect-ratio: 16/9;
    scale: 1.5;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 26, 51, 0.8), rgba(0, 26, 51, 0.4));
}

.hero-content {
    max-width: 60rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: 5.6rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
}

.hero p {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 50rem;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), transparent);
    z-index: 1;
}

/* Section Styles */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

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

.section-header {
    margin-bottom: 6rem;
    text-align: center;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-top: 2rem;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    background-color: var(--background-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 4rem;
}

.feature-box {
    background: white;
    padding: 4rem;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--box-shadow-light);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--primary);
    transition: var(--transition);
    z-index: -1;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-medium);
}

.feature-box:hover::before {
    height: 100%;
}

.feature-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.feature-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.feature-text {
    font-size: 1.5rem;
    color: var(--text-light);
}

/* Services Section */
.services {
    background-color: var(--background-off);
}

.service-card {
    position: relative;
    margin-bottom: 8rem;
    display: flex;
    background: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--box-shadow-medium);
    transform: translateY(-5px);
}

.service-img {
    width: 45%;
    position: relative;
    overflow: hidden;
    background-color: var(--secondary);
    min-height: 35rem;
}

.service-img::before {
    content: 'Image Coming Soon';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.8rem;
    text-align: center;
    z-index: 1;
}

.service-img.has-image::before {
    display: none;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    position: relative;
    z-index: 2;
}

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

.service-content {
    width: 55%;
    padding: 5rem;
}

.service-title {
    font-size: 2.6rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.service-text {
    margin-bottom: 3rem;
    font-size: 1.5rem;
    color: var(--text-light);
}

.service-list {
    margin-bottom: 3rem;
}

.service-list li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
}

.service-link {
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.service-link i {
    margin-left: 1rem;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* About Section */
.page-header {
    position: relative;
    height: 30vh;
    min-height: 25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 6rem;
    background: linear-gradient(135deg, var(--secondary) 0%, #1a3448 60%, #334455 100%);
    box-shadow: var(--box-shadow-medium);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 0, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    z-index: 1;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    z-index: 2;
}

.page-header h1 {
    font-size: 4rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    text-align: center;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

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

.about-container {
    display: flex;
    align-items: center;
    gap: 8rem;
}

.about-img {
    flex: 1;
    position: relative;
}

.about-img::after {
    content: '';
    position: absolute;
    top: 3rem;
    right: -3rem;
    width: 100%;
    height: 100%;
    border: 5px solid var(--primary);
    z-index: -1;
}

.about-img img {
    width: 100%;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--box-shadow-medium);
}

.about-content {
    flex: 1;
}

.about-title {
    font-size: 3.6rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.about-text {
    margin-bottom: 2.5rem;
    font-size: 1.6rem;
    color: var(--text-medium);
}

.about-text p {
    margin-bottom: 2rem;
}

/* Team Section */
.team {
    background-color: var(--background-off);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 4rem;
}

.team-member {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-medium);
}

.team-img {
    position: relative;
    height: 35rem;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .team-img img {
    transform: scale(1.1);
}

.team-info {
    background: white;
    padding: 3rem;
    text-align: center;
}

.team-name {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.team-position {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.team-text {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--background-off);
    color: var(--text-medium);
    font-size: 1.6rem;
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary);
    color: white;
}

/* Values Section */
.values {
    background-color: var(--background-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr));
    gap: 4rem;
}

.value-box {
    text-align: center;
    padding: 3rem 2rem;
    transition: var(--transition);
}

.value-icon {
    font-size: 4.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.value-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.value-text {
    font-size: 1.5rem;
    color: var(--text-light);
}

/* CTA Section */
.cta {
    background-color: var(--background-off);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.cta-title {
    font-size: 3.6rem;
    margin-bottom: 2rem;
}

.cta-text {
    font-size: 1.8rem;
    max-width: 70rem;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 18rem;
}

/* Contact Section */
.contact {
    background-color: var(--background-light);
}

.contact-container {
    display: flex;
    gap: 6rem;
}

.contact-info {
    flex: 1;
}

.contact-title {
    font-size: 3.2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.contact-text {
    font-size: 1.6rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-details {
    margin-bottom: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 1.5rem;
    width: 2.5rem;
}

.contact-item-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-item-content p {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-social {
    display: flex;
    gap: 1.5rem;
}

.contact-social a {
    font-size: 24px;
    color: #000;
    margin-right: 15px;
    transition: color 0.3s;
    text-decoration: none;
}

.contact-social a:hover {
    color: #007bff;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 4rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-light);
}

.form-title {
    font-size: 2.8rem;
    margin-bottom: 3rem;
}

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

.form-label {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1.5rem;
    border: 1px solid var(--border-medium);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1.5rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(204, 41, 41, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 15rem;
}

.form-row {
    display: flex;
    gap: 2rem;
}

.form-row .form-group {
    flex: 1;
}

/* Map Section */
.map {
    background-color: var(--background-off);
    padding: var(--spacing-xl) 0;
}

.map-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 4rem;
}

.map-container {
    height: 45rem;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #eeeeee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.map-placeholder p {
    font-size: 1.8rem;
    margin-bottom: 0;
}

/* Thank You Page */
.thank-you {
    background-color: var(--background-light);
    padding: var(--spacing-xxl) 0;
}

.thank-you-container {
    max-width: 70rem;
    margin: 0 auto;
    text-align: center;
    background-color: white;
    padding: 6rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-light);
}

.thank-you-icon {
    font-size: 8rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.thank-you-title {
    font-size: 3.6rem;
    margin-bottom: 2rem;
}

.thank-you-text {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 4rem;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 8rem 0 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6rem;
    margin-bottom: 6rem;
}

.footer-col {
    flex: 1;
    min-width: 25rem;
}

.footer-logo {
    margin-bottom: 2rem;
    display: inline-block;
}

.footer-logo img {
    height: 45px;
    width: auto;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-text {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.footer-title {
    font-size: 2rem;
    color: white;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-link {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.footer-contact {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-contact-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-right: 1.5rem;
    width: 2.5rem;
}

.footer-contact-text {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
}


/* Media Queries */
@media screen and (max-width: 1200px) {
    html {
        font-size: 58%;
    }
    
    .container {
        width: 95%;
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .service-content {
        padding: 4rem;
    }
}

@media screen and (max-width: 992px) {
    html {
        font-size: 56%;
    }
    
    h1 {
        font-size: 4.2rem;
    }
    
    h2 {
        font-size: 3.2rem;
    }
    
    .hero h1 {
        font-size: 4.8rem;
    }
    
    .service-card {
        flex-direction: column;
    }
    
    .service-img, .service-content {
        width: 100%;
    }
    
    .service-img {
        height: 35rem;
        min-height: 35rem;
    }
    
    .about-container, .contact-container {
        flex-direction: column;
        gap: 6rem;
    }
    
    .about-img {
        order: -1;
    }
    
    .about-img::after {
        right: -2rem;
        top: 2rem;
    }
    
    [class*="col-"] {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 54%;
    }

    .section-title {
        font-size: 3.6rem;
    }

    .mobile-toggle {
        display: block;
    }

    .header-container {
        position: relative;
    }

    /* Hide desktop nav */
    .nav {
        display: none;
    }

    /* Show mobile nav when active */
    .nav.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    .nav.active .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav.active .nav-links li {
        margin: 2rem 0;
    }

    .nav.active .nav-links a {
        font-size: 2.4rem;
        font-weight: 600;
        color: var(--text-dark);
    }

    .bar {
        transition: var(--transition);
    }

    .mobile-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .team-grid, .values-grid {
        grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* Phase 4: Enhanced Contact Form Mobile Optimization */
    .contact-container {
        flex-direction: column;
        gap: 3rem;
    }

    .contact-form {
        padding: 2.5rem 2rem;
        margin: 0;
    }

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

    .contact-title {
        font-size: 2.8rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .contact-item {
        justify-content: center;
        text-align: center;
        margin-bottom: 2rem;
    }

    .contact-item-content h3 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .contact-item-content p {
        font-size: 1.4rem;
    }

    .form-title {
        font-size: 2.4rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .form-input,
    .form-textarea {
        font-size: 16px; /* Prevent iOS zoom */
        padding: 1.5rem;
        min-height: 48px; /* Touch-friendly */
        border-radius: var(--border-radius-md);
    }

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

    .form-label {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        display: block;
    }

    .btn {
        width: 100%;
        padding: 1.5rem;
        font-size: 1.6rem;
        min-height: 48px;
        border-radius: var(--border-radius-md);
    }

    .contact-social {
        justify-content: center;
        margin-top: 2rem;
    }

    .contact-social a {
        font-size: 28px;
        padding: 1rem;
        min-width: 48px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--background-off);
        margin: 0 0.5rem;
        transition: all var(--transition);
    }

    .contact-social a:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-3px);
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .video-background iframe {
        scale: 2;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 52%;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .hero h1 {
        font-size: 4.2rem;
    }
    
    .section-title {
        font-size: 3.2rem;
    }
    
    .team-grid, .values-grid {
        grid-template-columns: 1fr;
    }
    
    .service-content {
        padding: 3rem;
    }
    
    .thank-you-container {
        padding: 4rem 2rem;
    }
    
    .nav {
        width: 100%;
    }

    /* Phase 4: Small Screen Contact Form Optimization */
    .contact-form {
        padding: 2rem 1.5rem;
        border-radius: var(--border-radius-sm);
    }

    .contact-title {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }

    .form-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .contact-item {
        margin-bottom: 1.5rem;
        flex-direction: column;
    }

    .contact-item-content h3 {
        font-size: 1.5rem;
    }

    .contact-item-content p {
        font-size: 1.3rem;
        line-height: 1.4;
    }

    .form-input,
    .form-textarea {
        padding: 1.2rem;
        font-size: 16px;
    }

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

    .contact-social a {
        font-size: 24px;
        min-width: 44px;
        min-height: 44px;
        margin: 0 0.3rem;
    }

    /* Improved touch targets */
    button,
    input,
    textarea,
    select {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    /* Better form validation styles for mobile */
    .form-input:invalid {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

    .form-input:valid {
        border-color: #28a745;
        box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    }
}

/* Video Portfolio Section */
.video-portfolio {
    background: var(--background-off);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.video-card {
    background: var(--background-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 2.5rem;
}

.video-info h4 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.video-info p {
    color: var(--text-light);
    font-size: 1.4rem;
    line-height: 1.6;
}

/* Photography Portfolio Section */
.photo-portfolio {
    background: var(--background-light);
}

.photo-showcase {
    margin-bottom: 5rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
    min-height: 400px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-light);
    transition: var(--transition);
    cursor: pointer;
    aspect-ratio: 4/3;
    min-height: 200px;
    background: var(--background-off);
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}

.photo-item.main-photo {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
    display: block;
}

.photo-item img[src=""], .photo-item img:not([src]) {
    display: none;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 26, 51, 0.8), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

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

.photo-info h4 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.photo-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    margin: 0;
}

.gallery-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--background-off);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-light);
}

.gallery-cta p {
    font-size: 1.6rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Lightroom Gallery Integration */
.lightroom-gallery-container {
    margin-bottom: 4rem;
}

.lightroom-fallback {
    background: var(--background-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
}

.gallery-fallback-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--background-off);
    border-top: 1px solid var(--border-light);
}

.gallery-fallback-cta p {
    font-size: 1.6rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.btn-large i {
    margin-right: 1rem;
    font-size: 2rem;
}

.gallery-meta {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 107, 0, 0.05);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 107, 0, 0.1);
}

.gallery-meta p {
    margin: 0;
    font-size: 1.4rem;
    color: var(--text-medium);
}

.gallery-meta a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.gallery-meta a:hover {
    text-decoration: underline;
}

/* Loading states for portfolio */
.photo-item.loading {
    background: var(--background-off);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Portfolio embed container */
.portfolio-embed-container {
    margin-bottom: 3rem;
}

.portfolio-iframe iframe {
    border: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.photo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.photo-feature {
    text-align: center;
    padding: 2rem;
}

.photo-feature .feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.4rem;
    transition: var(--transition);
}

.photo-feature:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
}

.photo-feature h4 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.photo-feature p {
    color: var(--text-light);
    font-size: 1.4rem;
    line-height: 1.6;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1.5rem 3rem;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--background-light);
    transform: translateY(-2px);
}

/* Responsive adjustments for video and photo portfolios */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-info {
        padding: 2rem;
    }
    
    .video-info h4 {
        font-size: 1.6rem;
    }
    
    .photo-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .photo-feature {
        padding: 1.5rem;
    }
    
    .photo-feature .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .photo-feature h4 {
        font-size: 1.6rem;
    }
    
    .photo-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 300px);
        height: auto;
        gap: 1rem;
    }
    
    .photo-item.main-photo {
        grid-row: span 1;
    }
    
    .photo-overlay {
        padding: 1.5rem;
    }
    
    .photo-info h4 {
        font-size: 1.6rem;
    }
    
    .gallery-cta {
        padding: 2rem 1.5rem;
    }
    
    .gallery-cta p {
        font-size: 1.4rem;
    }
    
    .photo-showcase {
        margin-bottom: 3rem;
    }
}