/* Sublime Slaps Styles - Updated v1.1 */

/* CSS Custom Properties for Brand Colors */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #ff6b6b;
    --accent-yellow: #ffd93d;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(45deg, #ff6b6b, #ffd93d);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    height: 50px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255,107,107,0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,107,107,0.4);
}

/* Image placeholder styles */
.image-placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-style: italic;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea20, #764ba220);
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    width: 400px;
    height: 400px;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about h2 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.about h2 a:hover {
    color: #667eea;
    text-decoration: underline;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #333;
}

.service-card p {
    color: #666;
    text-align: center;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-item {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #ffd93d;
    text-decoration: none;
    font-weight: bold;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info p {
    margin: 0;
}

.footer-nav {
    display: flex;
    align-items: center;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* General mobile adjustments */
    .container {
        padding: 0 15px;
    }

    /* Header adjustments */
    header {
        padding: 0.5rem 0;
    }

    .logo {
        height: 40px;
    }

    /* Hero section mobile */
    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
        min-height: 44px; /* Better touch target */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* About section mobile */
    .about {
        padding: 60px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .about-image {
        width: 100%;
        max-width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    .about h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* Services section mobile */
    .services {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Gallery section mobile */
    .gallery {
        padding: 60px 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        margin-top: 2rem;
    }

    .gallery-item {
        height: 200px;
    }

    /* Contact section mobile */
    .contact {
        padding: 60px 0;
    }

    .contact h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .contact p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .contact-item {
        padding: 1.5rem;
        width: 100%;
        max-width: 300px;
    }

    .contact-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .contact-item a {
        font-size: 1.1rem;
        padding: 8px 0;
        display: inline-block;
        min-height: 44px;
        line-height: 1.4;
    }

    /* Footer mobile */
    footer {
        padding: 1.5rem 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-nav {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    footer p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .contact h2 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .gallery-item {
        height: 180px;
    }

    .service-card {
        padding: 1.2rem;
    }

    .contact-item {
        padding: 1.2rem;
    }
}

/* Landscape mobile adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
    }

    .about-image {
        max-width: 200px;
        height: 200px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .gallery-item {
        height: 150px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }

    .gallery-item:hover {
        transform: none;
    }

    .contact-item:hover {
        transform: none;
    }

    .logo:hover {
        transform: none;
    }

    /* Increase touch targets */
    .cta-button {
        min-height: 48px;
    }

    .contact-item a {
        min-height: 48px;
        padding: 12px 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Enhanced scrollbar styling to match brand colors */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Firefox scrollbar styling */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

/* Selection color to match brand */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
} 