/* OceanFresh - Main CSS */

/* CSS Variables - 5 Primary Pastel Colors + Shades */
:root {
    --primary: #5687a2;           /* Ocean Blue */
    --primary-light: #7fbacc;
    --primary-dark: #2b535a;
    
    --secondary: #7fc068;         /* Sea Green */
    --secondary-light: #a9c598;
    --secondary-dark: #50683c;
    
    --accent: #dbc27c;            /* Sand Yellow */
    --accent-light: #ece6b4;
    --accent-dark: #d3b974;
    
    --coral: #fa8589;             /* Coral Pink */
    --coral-light: #edada3;
    --coral-dark: #b02a1a;
    
    --pearl: #d8eefb;             /* Pearl White */
    --pearl-light: #F5FAFB;
    --pearl-dark: #b9cad4;
    
    /* Neutral Colors */
    --text-dark: #2b3f5a;
    --text-muted: #5b6575;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
}

/* Override Bootstrap Primary Color */
.btn-primary,
.bg-primary,
.text-primary,
.border-primary {
    --bs-primary: var(--primary);
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

/* Typography - Conservative Sizes */
.navbar-brand {
    font-size: 10px !important;
    font-size: 1.14rem;
    font-weight: 600;
    color: var(--primary);
}

h1, .display-4 {
    font-size: 2.26rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2, .section-title {
    font-size: 1.94rem;
    font-weight: 600;
    margin-bottom: 0.90rem;
    color: var(--text-dark);
}

h5, h6 {
    font-size: 1rem;
    font-weight: 500;
}

.lead {
    font-size: 1.13rem;
    font-weight: 400;
    color: var(--primary);
}

p {
    font-size: 1.09rem;
    margin-bottom: 1rem;
}

.small {
    font-size: 0.90rem;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
}

/* Header Styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(11px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
}

.navbar-nav .nav-link {
    font-size: 10px !important;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--pearl) 0%, var(--pearl-light) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-light) 100%);
    opacity: 0.1;
    border-radius: 0 0 0 100px;
}

/* Button Styles */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 9px 15px rgba(72, 145, 181, 0.30);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0.5rem auto;
    border-radius: 2px;
}

/* Background Variations */
.bg-light {
    background-color: var(--pearl);
}

/* Process Steps */
.process-step {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 2px solid #d8e6f7;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(58, 119, 147, 0.25);
}

select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Icon Styles */
.fas, .far {
    color: var(--primary);
}

/* Gallery Images */
.gallery img {
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c4c5c 0%, #3a5a6d 100%);
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent);
}

footer .text-muted {
    color: #e0e0e0 !important;
}

footer h5, footer h6 {
    color: #ffffff;
}

/* Animation Delays for Sal.js */
[data-sal] {
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
}

/* Breadcrumb */
.breadcrumb-section {
    background-color: var(--pearl);
    border-bottom: 1px solid var(--pearl-dark);
}

.breadcrumb-section img {
    max-width: 100%;
    height: auto;
    width: auto;
    max-height: 30px;
}

/* Star Ratings */
.fas.fa-star.text-warning {
    color: #ffbb01;
}

/* Utility Classes */
.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.bg-primary {
    background-color: var(--primary);
}

.border-primary {
    border-color: var(--primary);
}

/* Team Images */
.rounded-circle {
    border: 3px solid var(--pearl);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Image Scaling */
.img-fluid {
    transition: transform 0.3s ease;
}

/* Price Display */
.card-body h4 {
    font-size: 1.52rem;
    font-weight: 600;
}

/* Badge Styles */
.badge {
    font-size: 0.78rem;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
}

/* Shadow Utilities */
.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Loading and Accessibility */
img {
    max-width: 100%;
    height: auto;
}

/* Focus States for Accessibility */
a:focus,
button:focus,
.form-control:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Custom Spacing */
.mb-5 {
    margin-bottom: 3rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Text Alignment */
.text-center h2 {
    margin-bottom: 1rem;
}

.text-center p.lead {
    margin-bottom: 0.65rem;
}

.text-center p.text-muted {
    margin-bottom: 2rem;
} 

.hero-section h1 {
    padding-top: 125px;
}


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
