← back to Billy Website

css/style.css

1253 lines

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B4513;
    --secondary-color: #DAA520;
    --accent-color: #CD853F;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --white: #ffffff;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    padding-top: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

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

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-logo {
    position: relative;
    z-index: 3;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.hero-logo img {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.hero-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.hero-text {
    text-align: center;
    color: var(--white);
    max-width: 800px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

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

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg);
    margin: 10px auto 0;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--dark);
    opacity: 0.8;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--dark);
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Villas Section */
.villas {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--white), var(--light));
}

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

.villa-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.villa-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.villa-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
}

.villa-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.villa-content {
    padding: 2rem;
}

.villa-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.villa-specs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.villa-specs span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark);
    opacity: 0.7;
    font-size: 0.9rem;
}

.villa-specs i {
    color: var(--primary-color);
}

.villa-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--dark);
    opacity: 0.8;
}

.villa-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.villa-amenities span {
    background: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--dark);
}

.btn-villa {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-villa:hover {
    background: var(--dark);
    transform: scale(1.02);
}

/* Seasons Section */
.seasons {
    padding: 6rem 0;
    background: var(--white);
}

.seasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.season-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.season-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.dry-season {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.green-season {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.turtle-season {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.festival-season {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.season-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--white);
}

.season-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.season-overlay span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.season-content {
    padding: 2rem;
}

.season-content h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.season-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--dark);
    opacity: 0.8;
}

.season-content ul {
    list-style: none;
}

.season-content ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--dark);
    opacity: 0.8;
}

.season-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.season-content ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.season-content ul li a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Experiences Section */
.experiences {
    padding: 6rem 0;
    background: var(--white);
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.experience-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.experience-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.experience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.experience-card p {
    line-height: 1.7;
    color: var(--dark);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.experience-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.experience-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.3rem 0;
}

.experience-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* Area Section */
.area {
    padding: 6rem 0;
    background: var(--light);
}

.map-container {
    position: relative;
    margin-bottom: 4rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.interactive-map {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
}

.map-legend {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.95);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.map-legend h4 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.legend-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: block;
}

.legend-marker.restaurant { background: #e74c3c; }
.legend-marker.hotel { background: #3498db; }
.legend-marker.beach { background: #f39c12; }
.legend-marker.activity { background: #2ecc71; }

.recommendations {
    display: grid;
    gap: 3rem;
}

.rec-category h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rec-category h3 i {
    color: var(--primary-color);
}

.rec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.rec-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.rec-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.rec-item h4 a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.rec-item h4 a:hover {
    color: var(--primary-color);
}

.rec-item p {
    color: var(--dark);
    opacity: 0.7;
    margin-bottom: 1rem;
}

.rec-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.rec-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.rec-distance {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* History Section */
.history {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--light), var(--white));
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.timeline-content p {
    line-height: 1.7;
    color: var(--dark);
    opacity: 0.8;
}

.history-highlights h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.heritage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.heritage-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.heritage-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.heritage-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.heritage-item p {
    line-height: 1.7;
    color: var(--dark);
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.contact-item p {
    color: var(--dark);
    opacity: 0.8;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: var(--dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

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

.contact-form select {
    margin-bottom: 1rem;
}

.contact-form textarea {
    margin-bottom: 1rem;
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Find Us Section */
.find-us {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 2px solid var(--light);
}

.embedded-map {
    margin: 3rem 0;
    box-shadow: var(--shadow-lg);
    border-radius: 15px;
    overflow: hidden;
}

.travel-info {
    margin-top: 3rem;
}

.travel-info h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.travel-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.travel-option {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.travel-option i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.travel-option h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.travel-option p {
    color: var(--dark);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.travel-option a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.travel-option a:hover {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.7;
}

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

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

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        padding: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-logo img {
        max-width: 280px;
    }

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

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem !important;
        padding-right: 0 !important;
    }

    .timeline-item .timeline-marker {
        left: -10px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255,255,255,0.98);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .villas-grid,
    .seasons-grid,
    .rec-grid,
    .heritage-grid {
        grid-template-columns: 1fr;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}