/* Gulf Shores Marketing Agency - Beach Theme Styles */

:root {
    --beach-sand: #F4E8C1;
    --ocean-blue: #1E90FF;
    --ocean-deep: #006994;
    --ocean-light: #87CEEB;
    --coral: #FF7F50;
    --seafoam: #93E9BE;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #5D6D7E;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-blue) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-image: url('../logoGS.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--beach-sand);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(30, 144, 255, 0.5), rgba(0, 105, 148, 0.6)),
                url('../laptopheaderphoto.png');
    background-size: cover;
    background-position: center center;
    color: var(--white);
    padding: 12rem 2rem;
    text-align: center;
    background-attachment: fixed;
}

/* Page-specific hero backgrounds */
.hero.about-hero {
    background: linear-gradient(rgba(30, 144, 255, 0.5), rgba(0, 105, 148, 0.6)),
                url('../smartphone1.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.hero.services-hero {
    background: linear-gradient(rgba(30, 144, 255, 0.5), rgba(0, 105, 148, 0.6)),
                url('../smartphone2.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.hero.areas-hero {
    background: linear-gradient(rgba(30, 144, 255, 0.5), rgba(0, 105, 148, 0.6)),
                url('../socialmedia.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.hero.contact-hero {
    background: linear-gradient(rgba(30, 144, 255, 0.5), rgba(0, 105, 148, 0.6)),
                url('../smartphone3.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background-color: var(--coral);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #ff6347;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

/* Section Styles */
section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--ocean-deep);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--ocean-blue), var(--seafoam));
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    color: var(--ocean-blue);
    margin-bottom: 1rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--ocean-blue);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Services */
.service-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--beach-sand) 100%);
}

/* Areas */
.area-card {
    background: var(--white);
    text-align: center;
}

.area-card h3 {
    color: var(--ocean-deep);
}

/* Contact Form */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background: linear-gradient(135deg, var(--ocean-light) 0%, var(--seafoam) 100%);
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h3 {
    color: var(--ocean-deep);
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--ocean-deep);
}

input,
textarea,
select {
    padding: 0.8rem;
    border: 2px solid var(--ocean-light);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--ocean-blue);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button[type="submit"] {
    background-color: var(--ocean-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background-color: var(--ocean-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-blue) 100%);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--beach-sand);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--seafoam);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ocean-deep);
        padding: 1rem;
        gap: 0.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.wave-divider {
    height: 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 50"><path fill="%23F4E8C1" d="M0,25 Q300,0 600,25 T1200,25 L1200,50 L0,50 Z"/></svg>');
    background-size: cover;
}
