/* ========================================
   SWISSTEC REPAIRS - MAIN STYLESHEET
   Color Scheme: Red, Grey & White
   Fonts: Oswald, Poppins, Source Sans Pro
   ======================================== */

/* ========================================
   TABLE OF CONTENTS
   ========================================
   1. CSS VARIABLES & COLORS
   2. RESET & BASE STYLES
   3. TYPOGRAPHY
   4. LAYOUT & CONTAINERS
   5. NAVIGATION
   6. HERO SECTION
   7. BUTTONS
   8. FEATURES & CARDS
   9. SERVICES PAGE
   10. CONTACT PAGE
   11. FOOTER
   12. FORMS
   13. RESPONSIVE DESIGN
   14. UTILITY CLASSES
   ======================================== */

/* ========================================
   1. CSS VARIABLES & COLORS
   ========================================
   CUSTOMIZE YOUR COLORS HERE!
   Change these values to update colors site-wide
   ======================================== */
:root {
    /* PRIMARY COLORS */
    --primary-red: #d32f2f;           /* Main red - buttons, accents, links */
    --primary-red-dark: #b71c1c;      /* Darker red - hover states */
    --primary-red-light: #ff5252;     /* Lighter red - highlights */
    --primary-red-pale: #ffebee;      /* Very light red - backgrounds */
    
    /* GREY SCALE */
    --grey-darkest: #212121;          /* Almost black - headers, important text */
    --grey-dark: #424242;             /* Dark grey - body text */
    --grey-medium: #757575;           /* Medium grey - secondary text */
    --grey-light: #bdbdbd;            /* Light grey - borders */
    --grey-lighter: #e0e0e0;          /* Lighter grey - dividers */
    --grey-lightest: #f5f5f5;         /* Very light grey - backgrounds */
    --white: #ffffff;                 /* Pure white */
    
    /* SEMANTIC COLORS */
    --text-primary: var(--grey-darkest);
    --text-secondary: var(--grey-dark);
    --text-muted: var(--grey-medium);
    --bg-primary: var(--white);
    --bg-secondary: var(--grey-lightest);
    --bg-dark: var(--grey-darkest);
    --border-color: var(--grey-lighter);
    
    /* SPACING SCALE */
    /* Change these to adjust spacing throughout the site */
    --spacing-xs: 0.5rem;    /* 8px - Very small spacing */
    --spacing-sm: 1rem;      /* 16px - Small spacing */
    --spacing-md: 2rem;      /* 32px - Medium spacing */
    --spacing-lg: 3rem;      /* 48px - Large spacing */
    --spacing-xl: 4rem;      /* 64px - Extra large spacing */
    --spacing-xxl: 6rem;     /* 96px - Huge spacing */
    
    /* TYPOGRAPHY */
    /* Font families from Google Fonts */
    --font-title: 'Oswald', sans-serif;           /* Titles and logo */
    --font-heading: 'Poppins', sans-serif;        /* Headings */
    --font-body: 'Source Sans Pro', sans-serif;   /* Body text */
    
    /* Font sizes */
    --font-size-xs: 0.875rem;    /* 14px */
    --font-size-sm: 1rem;        /* 16px */
    --font-size-md: 1.125rem;    /* 18px */
    --font-size-lg: 1.5rem;      /* 24px */
    --font-size-xl: 2rem;        /* 32px */
    --font-size-xxl: 2.5rem;     /* 40px */
    --font-size-xxxl: 3rem;      /* 48px */
    
    /* Line heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;
    
    /* EFFECTS */
    /* Border radius - controls roundness of corners */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;    /* Fully rounded (pills, circles) */
    
    /* Shadows - for depth and elevation */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.18);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Container width */
    --container-width: 1200px;
}

/* ========================================
   2. RESET & BASE STYLES
   ========================================
   Ensures consistent styling across browsers
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove default list styles */
ul, ol {
    list-style: none;
}

/* Make images responsive by default */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Remove default link styles */
a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   3. TYPOGRAPHY
   ========================================
   Heading and text styles
   ======================================== */

/* Main page titles (h1) */
h1 {
    font-family: var(--font-title);
    font-size: var(--font-size-xxxl);
    font-weight: 700;
    line-height: var(--line-height-tight);
    color: var(--grey-darkest);
    margin-bottom: var(--spacing-sm);
}

/* Section headings (h2) */
h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-xxl);
    font-weight: 600;
    line-height: var(--line-height-tight);
    color: var(--grey-darkest);
    margin-bottom: var(--spacing-md);
}

/* Subsection headings (h3) */
h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 600;
    line-height: var(--line-height-tight);
    color: var(--grey-darkest);
    margin-bottom: var(--spacing-sm);
}

/* Smaller headings (h4) */
h4 {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: 600;
    line-height: var(--line-height-normal);
    color: var(--grey-dark);
    margin-bottom: var(--spacing-xs);
}

/* Paragraphs */
p {
    margin-bottom: var(--spacing-sm);
    line-height: var(--line-height-relaxed);
}

/* Strong/bold text */
strong {
    font-weight: 600;
    color: var(--grey-darkest);
}

/* ========================================
   4. LAYOUT & CONTAINERS
   ========================================
   Main layout structures
   ======================================== */

/* Container - centers content with max width */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

/* Page header (used on Services and Contact pages) */
.page-header {
    background: linear-gradient(135deg, var(--grey-darkest) 0%, var(--grey-dark) 100%);
    color: var(--white);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    font-size: var(--font-size-md);
    color: var(--grey-light);
}

/* ========================================
   5. NAVIGATION
   ========================================
   Top navigation bar
   ======================================== */
.navbar {
    background-color: var(--bg-dark);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

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

/* Logo styling */
.navbar .logo h1 {
    font-family: var(--font-title);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--white);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 
TO USE LOGO IMAGE:
When you uncomment the <img> tag in HTML,
add this CSS to style it:
*/
.navbar .logo img {
    height: 40px;
    width: auto;
}

/* Navigation links */
.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    position: relative;
}

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

/* Mobile menu toggle (hamburger icon) */
.mobile-menu-toggle {
    display: none;  /* Hidden on desktop */
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

/* ========================================
   6. HERO SECTION
   ========================================
   Large banner on homepage
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--grey-darkest) 0%, var(--grey-dark) 100%);
    color: var(--white);
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3.5rem);  /* Responsive font size */
    color: var(--white);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: var(--font-size-md);
    color: var(--grey-light);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    line-height: var(--line-height-relaxed);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   7. BUTTONS
   ========================================
   Reusable button styles
   ======================================== */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    font-weight: 600;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    text-align: center;
    transition: all var(--transition-normal);
    text-decoration: none;
}

/* Primary button - Red */
.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Secondary button - Outlined */
.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--grey-darkest);
}

/* ========================================
   8. FEATURES & CARDS
   ========================================
   Feature cards and general card styling
   ======================================== */

/* Features section */
.features {
    background-color: var(--bg-secondary);
}

.features h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

/* Features grid - responsive 3-column layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

/* Individual feature card */
.feature-card {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    color: var(--primary-red);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

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

.about h2 {
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
}

.about-content p {
    font-size: var(--font-size-md);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

/* Devices section */
.devices-section {
    margin-top: var(--spacing-lg);
}

.devices-section h3 {
    text-align: center;
    color: var(--primary-red);
    margin-bottom: var(--spacing-md);
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.device-item {
    background-color: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
}

.device-item h4 {
    color: var(--grey-darkest);
    margin-bottom: var(--spacing-xs);
}

.device-item p {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
}

/* ========================================
   CALL-TO-ACTION SECTION
   ======================================== */
.cta {
    background-color: var(--primary-red);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.cta h2 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.cta p {
    font-size: var(--font-size-md);
    margin-bottom: var(--spacing-md);
}

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

.cta .btn-primary:hover {
    background-color: var(--grey-lightest);
    transform: translateY(-2px);
}

/* ========================================
   9. SERVICES PAGE STYLES
   ========================================
   Specific styles for services.html
   ======================================== */
.services-content {
    background-color: var(--bg-secondary);
}

/* Service category container */
.service-category {
    background-color: var(--white);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* Category header */
.category-header {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--primary-red);
}

.category-header h2 {
    color: var(--primary-red);
    font-size: var(--font-size-xxl);
    margin-bottom: var(--spacing-xs);
}

.category-header p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: 0;
}

/* Individual service item */
.service-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
}

.service-item:last-child {
    border-bottom: none;
}

.service-details {
    flex: 1;
    padding-right: var(--spacing-md);
}

.service-details h3 {
    font-size: var(--font-size-lg);
    color: var(--grey-darkest);
    margin-bottom: var(--spacing-xs);
}

.service-details p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

/* Time estimate badge */
.time-estimate {
    display: inline-block;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    background-color: var(--grey-lightest);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-top: var(--spacing-xs);
}

/* Service note (special callouts) */
.service-note {
    color: var(--primary-red);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

/* Service price */
.service-price {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-red);
    white-space: nowrap;
    min-width: 150px;
    text-align: right;
}

/* Parts options section */
.parts-options-section {
    background-color: var(--white);
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.parts-options-section h2 {
    text-align: center;
    color: var(--grey-darkest);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-size-md);
    margin-bottom: var(--spacing-lg);
}

/* Parts grid */
.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

/* Parts card */
.parts-card {
    background-color: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-red);
    position: relative;
}

.parts-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: var(--primary-red);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.parts-card h3 {
    margin-top: var(--spacing-sm);
    color: var(--grey-darkest);
    font-size: var(--font-size-lg);
}

.parts-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.parts-card ul {
    list-style: none;
    margin: var(--spacing-sm) 0;
}

.parts-card ul li {
    padding: 4px 0;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.parts-note {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    font-style: italic;
    background-color: rgba(211, 47, 47, 0.05);
    padding: var(--spacing-xs);
    border-radius: var(--radius-sm);
}

/* Policies section */
.policies-section {
    background-color: var(--white);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.policies-section h2 {
    text-align: center;
    color: var(--grey-darkest);
    margin-bottom: var(--spacing-lg);
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.policy-item {
    background-color: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
}

.policy-item h3 {
    color: var(--grey-darkest);
    font-size: var(--font-size-md);
    margin-bottom: var(--spacing-sm);
}

.policy-item p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* ========================================
   10. CONTACT PAGE STYLES
   ========================================
   Specific styles for contact.html
   ======================================== */

/* Contact intro section */
.contact-intro {
    background-color: var(--bg-primary);
    padding: var(--spacing-xl) 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    align-items: center;
}

/* Photo section */
.photo-section {
    text-align: center;
}

/* 
PHOTO PLACEHOLDER STYLING
Replace this when you add your actual photo
*/
.photo-placeholder {
    width: 250px;
    height: 250px;
    background-color: var(--grey-lightest);
    border: 3px dashed var(--grey-light);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.photo-placeholder p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.photo-instructions {
    font-size: var(--font-size-xs);
    color: var(--grey-light);
}

/* 
ACTUAL PROFILE PHOTO STYLING
When you add your photo, uncomment this in HTML
and it will use these styles
*/
.profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-red);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

/* Logo placeholder in contact intro */
.contact-logo-placeholder {
    background-color: var(--grey-lightest);
    border: 2px dashed var(--grey-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

/* Actual contact logo */
.contact-logo {
    max-width: 300px;
    margin-bottom: var(--spacing-md);
}

/* Text section in contact intro */
.text-section h2 {
    color: var(--primary-red);
    margin-bottom: var(--spacing-sm);
}

.text-section p {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

/* Contact options section */
.contact-options {
    background-color: var(--bg-secondary);
}

.contact-options h2 {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* Contact card styling */
.contact-card {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.contact-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.contact-card h3 {
    color: var(--primary-red);
    margin-bottom: var(--spacing-xs);
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.contact-link {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 600;
    font-size: var(--font-size-md);
    margin: var(--spacing-sm) 0;
    transition: color var(--transition-fast);
}

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

/* Chat button special styling */
.chat-button {
    background-color: var(--primary-red);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
}

.chat-button:hover {
    background-color: var(--primary-red-dark);
}

.contact-note {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    font-style: italic;
}

/* Business info section */
.business-info {
    background-color: var(--bg-primary);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.info-card {
    background-color: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
}

.info-card h3 {
    color: var(--primary-red);
    margin-bottom: var(--spacing-sm);
}

.info-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.info-note {
    font-size: var(--font-size-xs);
    color: var(--grey-light);
    font-style: italic;
}

/* ========================================
   11. FOOTER
   ========================================
   Bottom of every page
   ======================================== */
.footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-column h3,
.footer-column h4 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.footer-column p {
    color: var(--grey-light);
    font-size: var(--font-size-sm);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-column a {
    color: var(--grey-light);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-red-light);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--grey-dark);
}

.footer-bottom p {
    color: var(--grey-light);
    font-size: var(--font-size-xs);
}

/* ========================================
   12. FORMS
   ========================================
   Contact form and form elements
   ======================================== */
.contact-form-section {
    background-color: var(--bg-primary);
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-wrapper h2 {
    text-align: center;
    color: var(--grey-darkest);
    margin-bottom: var(--spacing-sm);
}

.form-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* Form row - for side-by-side fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

/* Form group - individual field container */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--grey-darkest);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-sm);
}

/* Input, select, and textarea styling */
.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast);
    background-color: var(--white);
}

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

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

/* Form disclaimer text */
.form-disclaimer {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-align: center;
    background-color: var(--grey-lightest);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary-red);
}

/* ========================================
   13. RESPONSIVE DESIGN
   ========================================
   Mobile and tablet adjustments
   ======================================== */

/* Tablets and below (768px) */
@media (max-width: 768px) {
    /* Navigation */
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .nav-links {
        display: none;  /* Hide by default */
        width: 100%;
        flex-direction: column;
        margin-top: var(--spacing-sm);
    }
    
    .nav-links.active {
        display: flex;  /* Show when menu is open */
    }
    
    .mobile-menu-toggle {
        display: flex;  /* Show hamburger menu */
    }
    
    /* Hero section */
    .hero {
        padding: var(--spacing-lg) 0;
    }
    
    .hero-content h1 {
        font-size: var(--font-size-xxl);
    }
    
    /* Contact intro - stack on mobile */
    .intro-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Service items - stack price below description */
    .service-item {
        flex-direction: column;
    }
    
    .service-price {
        text-align: left;
        margin-top: var(--spacing-sm);
    }
    
    /* Form rows - stack on mobile */
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Mobile phones (480px and below) */
@media (max-width: 480px) {
    /* Reduce base font size */
    html {
        font-size: 14px;
    }
    
    /* Smaller spacing */
    section {
        padding: var(--spacing-md) 0;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* Hero */
    .hero {
        padding: var(--spacing-md) 0;
    }
    
    /* Buttons */
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    /* Photo placeholder */
    .photo-placeholder,
    .profile-photo {
        width: 200px;
        height: 200px;
    }
    
    /* Contact cards - full width */
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   14. UTILITY CLASSES
   ========================================
   Helpful reusable classes
   ======================================== */

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Margin utilities */
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

/* Padding utilities */
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }

/* Display utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

/* ========================================
   CUSTOMIZATION QUICK GUIDE
   ========================================
   
   TO CHANGE COLORS:
   - Edit the :root variables at the top
   - Main red: --primary-red
   - Grey shades: --grey-darkest through --grey-lightest
   
   TO CHANGE FONTS:
   - Update Google Fonts link in HTML <head>
   - Change font variables: --font-title, --font-heading, --font-body
   
   TO ADJUST SPACING:
   - Modify spacing variables: --spacing-xs through --spacing-xxl
   
   TO CHANGE ROUNDNESS:
   - Adjust border-radius variables: --radius-sm through --radius-xl
   
   TO MODIFY RESPONSIVE BREAKPOINTS:
   - Edit @media query max-width values
   - Default: 768px (tablet), 480px (mobile)
   
   ======================================== */
